I have an initial solution assigned to the two-dimensional variable x(i,j) .
How can I start solving the mathprogram using this initial solution?
I did the following steps but I need details about the element parameter which is the second argument in sendtosolversession?)
Thanks in advance
- read x from file “sol.txt”;
- myGMP := GMP::Instance::Generate(MyModel);
- SolverSession :=GMP::Instance::CreateSolverSession(myGMP);
- GMP::Solution::SendToSolverSession(SolverSession, ???)
Best answer by deannezhang
If you just need using the initial solution as MIP start point, GMP functions is not necessary. You just need to set the corresponding solver options, assign the value to the variable, and use solve statement. You can refer to this link: