revamp CP export model, swig it in c# + simple test

This commit is contained in:
Laurent Perron
2017-03-24 14:10:29 -04:00
parent 83106a9823
commit 15bc5959cd
8 changed files with 51 additions and 35 deletions

View File

@@ -318,7 +318,7 @@ int Run() {
FLAGS_collect_variables) {
Solver solver(model_proto.model());
std::vector<SearchMonitor*> monitors;
if (!solver.LoadModel(model_proto, &monitors)) {
if (!solver.LoadModelWithSearchMonitors(model_proto, &monitors)) {
LOG(INFO) << "Could not load model into the solver";
return kProblem;
}