I need to impose a time limit for AOA and after the time limit is reached, the value of the incumbent is returned.
MPOuterApprox::TimeLimit :=500;
GMPOuterApprox::IsConvex := 1;
GMPOuterApprox::DoOuterApproximation( GMPRO );
BestAOA := GMP::Instance::GetObjective( GMPRO ) ;
ProgAOA := GMP::Solution::GetProgramStatus( GMPRO, 1 );
display BestAOA , ProgAOA;
GMP::Instance::Delete( GMPRO );
in the progress window I can see a value to the “best solution” is assigned and the gap is around 30% but when the time limit is reached, the values assigned to BestAOA , and ProgAOA are as follows:
bestAOA := na ;
progAOA := 'IntermediateInfeasible' ;
I appreciate any help in advance.