Initial guess for class 'optim.problemdef.OptimizationProblem'.
回答済みHello community,
In this example problem (https://www.gurobi.com/documentation/9.5/refman/matlab_using_grb_within_ma.html), how can I set an initial guess?
Thanks!
Livia
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Livia,
As described in the model argument documentation, you have to set the \(\texttt{start}\) vector. The facility.m example shows how to set the start vector.
Best regards,
Jaromił0 -
Hi Jaromil,
Thanks for your reply. I saw similar examples using the start vector, but they all would use the Gurobi general constraint interface.
However, the example I mentioned uses the formulation called “Problem-Based Optimization”. Is there a way to set the initial guess within this alternative interface?
Best,
Livia
0 -
Hi Livia,
I don't know about MATLAB's Optimization Toolbox, but what should be possible is to read in a solution file which holds an initial point. However, this is something that should be documented in MATLAB's Optimization Toolbox.
Best regards,
Jaromił0
投稿コメントは受け付けていません。
コメント
4件のコメント