Skip to main content
Solved

Parameter for solving status

  • July 17, 2023
  • 1 reply
  • 53 views

Forum|alt.badge.img+4

Hi all, I am going to run the AIMMS with many different scenarios(case data) automatically. In case the solver may not find the optimum solution in some of the scenarios, I wonder is there any parameter or index (such as 0 or 1) I can get after solving each case to indicate if the solver has got the optimum solution?

Best answer by Marcel Hunting

Hi @Chunyang. You can use the math program suffix ProgramStatus for this. If it equals ‘Optimal’ then an optimal solution has been found.

1 reply

Marcel Hunting
AIMMSian
Forum|alt.badge.img+4
  • AIMMSian
  • 258 replies
  • Answer
  • July 18, 2023

Hi @Chunyang. You can use the math program suffix ProgramStatus for this. If it equals ‘Optimal’ then an optimal solution has been found.



Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator