Here I find a problem: when I use GMP::Instance::CreatePresolved to solve a MathematicalProgram , the solution I get belongs to the Presolved MathematicalProgram rather than the orignal MathematicalProgram. My code is as follows:
MyGMP := GMP::Instance::generate(MarketDA);
MyGMP_Pre := GMP::Instance::CreatePresolved(MyGMP,"GMP1");
MySolver := GMP::Instance::CreateSolverSession(MyGMP_Pre , "Solver1" , 'CPLEX 12.3');
GMP::SolverSession::Execute(MySolver);
GMP::Solution::RetrieveFromSolverSession(MySolver , 1 );
GMP::Solution::SendToModel(MyGMP,1);
There is an error report on the last line shows the solution 1 is not exist. Is it possible to send the solution 1 to “MyGMP” model ?