Solved

Check for me the command


Badge +1

Hi, can you help me check this command, I want to generate the detailed infeasibility analysis report from AIMMS. How and where to declare “CPLEXParameter” and “generate InfeasibleAnalysisReport”? Is this the correct approach? if not please assist me.

Thank you for your help.

icon

Best answer by gdiepen 6 June 2024, 09:44

View original

5 replies

Userlevel 5
Badge +7

Easiest would be to try and solve your math program with a solve statement in MainExecution.

 

If it is infeasible, then in AIMMS go to the math program inspector:

 

 

There in the actions menu, go to the IIS

 

 

After that is finished, AIMMS will highlight he constraints that are part of the IIS.

Userlevel 5
Badge +4

Alternatively, you can use the Infeasibility Finder, as explained here. This tool will print a set of infeasible constraints and variables in a file, namely the listing file.

Badge +1

I will try it out soon. Thank you for your soonest reply Mr@gdiepen & Mr @Marcel Hunting

Badge +1

I have followed the steps and it reached the purpose. It shows which constraints have been violated. Thank you for the guidance. However, I have another question, is it possible for AIMMS to show the suggestion to tackle the violation automatically in terms of values or character in order to give the feasible solution. (As example, if constraint 1 is the room capacity =50 and the result gave infeasible result like 51 which that constraint is violated , can we know automatically from AIMMS how many is outside the constraint bound. For this one, 1 is outside the bound)

Userlevel 5
Badge +7

You might want to check the language reference about infeasibility analysis:

https://documentation.aimms.com/language-reference/optimization-modeling-components/solving-mathematical-programs/infeasibility-analysis.html

Reply


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

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