Gurobi sets all decision variables and objective to 0
ユーザーの入力を待っています。Hi,
I am working on a routing problem (MILP), programmed using Pyomo and solved in Gurobi. When I look at the solver output, all variables are read well and the range matrix seems okay. The model is feasible and the termination conditions are ok and optimal. What could be the reason for Gurobi to solve all decision variables to zero, including the objective function? I have looked into my code thoroughly, so I'm quite sure there are no typos/modelling errors.
Many thanks for your help!
-
Hi Wieger,
Do you mean that the solution point \(\texttt{\mathbf{x}^* = 0}\) is not correct? Did you try fixing all variables to \(0\) by hand to see why it makes sense for your model? What are the solution and objective values you expect to be optimal for your model? If you know of a feasible solution, you could try passing it as a MIP Start.
Best regards,
Jaromił0
サインインしてコメントを残してください。
コメント
1件のコメント