Page 1 of 1

Tell me

Posted: Thu May 16, 2019 8:50 am
by Ildar
Hello


I want to skip finding a valid solution in CPLEX, go directly to the branch and bound method
Tell me how to set a valid solution for my model.
It is necessary to set the value of the function only or vector solution too?
Suppose I know that for this test problem the value of the function does not exceed 350

Re: Tell me

Posted: Thu May 16, 2019 9:25 am
by Fred
Hi,

you cannot go directly to the branch and bound method without solving the root node LP.
If you would like to providea starting point, which is basically a (partial) integer feasible solution, you can do that by setting the level attribute .l of the variables before the solve statemment and instruct CPLEX to use that starting point via option misptart (https://www.gams.com/latest/docs/S_CPLE ... EXmipstart).

For your model, the barrier algorithm seems to work better for the root node LP than Simplex. CPLEX option startalg allows you to choose the MIP starting algorithm, e.g.

Code: Select all

[...]
Shops.optfile = 1;
$onecho > cplex.opt
startalg 4
$offecho
Solve Shops using MIP max opt;
[...]
I hope this helps!

Fred