Marika Karbstein
-
Gurobi Staff
- Total activity 532
- Last activity
- Member since
- Following 1 user
- Followed by 1 user
- Votes 3
- Subscriptions 265
Comments
Recent activity by Marika Karbstein-
The two indicator constraints model.addConstrs((check_v[i]==0) >> (v[i] >= IntFeasTol) for i in range(3))model.addConstrs((check_v[i]==0) >> (absVar[i] >= IntFeasTol) for i in range(3)) make sure t...
-
Hi Purnima, You can print the objective values as follows for w in range(m.SolCount): m.Params.SolutionNumber = w # consider all objectives for this solution for i in range(2): m.Pa...
-
To work with general expressions, you may need to add intermediate decision variables, see How do I model logical and general expressions? This is not only the case for constraints but also for con...
-
Hi Purnima, You need to set the parameter for each objective. If you have 2 objectives, you can access the environment for both objectives and then set parameters as follows env0 = m.getMultiobjEnv...
-
Which Gurobi Version do you use? Could you please also add the log file?
-
Hi Ankan, Thanks for pointing out this issue! Our developers fixed the bug. The fix will be part of the release 10.0.2 available probably in Q2 or Q3 of this year.As a workaround for the time being...
-
I cannot reproduce the issue. You probably need to share the complete reproducible example.
-
This is still not enough information to help you. Your problem is probably not defined properly.Could you explain a bit more about what you exactly want to solve? Why do you have variables vars and...
-
This is not a reproducible example. If I understand you correctly you started with the Gurobi example tsp_c++.cpp. But why do you change something in the code if you want to get more feasible solut...
-
I think your error is in init_x() when declaring the variables. The second for-loop should be for (int k = 0; k < customers; k++) instead of for (int k = 0; k < vehicles; k++)