Hello all, I will soon push a large incompatible change in the CP and Routing libraries. The change will replace parameters (CP solver parameters, routing model parameters, routing search parameters) from struct to protobuf. This will also hide the C++ command line flags (cp_trace_search, routing_first_solution, ...) and make them redundant for controlling the behavior of the libraries. They are currently kept in the C++ library, but will be dropped out eventually. With this move, all functionalities offered by the C++ command line flags will be available from all languages (provided you implement the command line parsing part). Let's see an example (tsp) Before (in C++): // Setting first solution heuristic (cheapest addition). FLAGS_routing_first_solution = "PathCheapestArc"; const Assignment* solution = routing.Solve() ; After (in C++, using the command line flags compatibility) : RoutingSearchParameters parameters = BuildSearchParametersFro
Popular posts from this blog
Hi all. We've added more content to our documentation hub : short tutorials on how to solve integer programming problems, job shop problems, and vehicle routing problems with time windows. We've also added over 800 pages of comprehensive documentation detailing our C++ API. (That documentation is automatically generated, so the formatting will be odd in places.) We'll be adding plenty more content in the months to come. If you have specific requests, let us know!
Hello all, I have bumped the gflags version to 2.1.1 on windows too. The immediate consequence is that you need cmake to build third_party dependencies on windows. So, please go to http://www.cmake.org/download/ and install the windows version. cmake.exe needs to be in the PATH such that make third_party can find it. Thanks PS: This is done on the github repository. Please consider the one on code.google.com to be obsolete.