How can I put my initial guess into optimization when using gurobi.m (matlab)
回答済みMy code just as following:
%step1 params set
tol=1e-6;
params.outputflag = 0;
params.OptimalityTol=tol;
params.FeasibilityTol=tol;
params.IntFeasTol=tol;
%step2 model set
%step3 gurobi optimization
result = gurobi(model, params);
0
-
正式なコメント
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 why not try our AI Gurobot?. -
Hi Jin,
This is explained in our Matlab documentation (near the end of the page). You need to use the 'start' argument to pass a vector of start values to Gurobi.
Cheers,
Matthias0
投稿コメントは受け付けていません。
コメント
2件のコメント