Skip to main content
Solved

How to pass initial solution in AIMMS for an MIP/ CPLEX

  • June 3, 2024
  • 3 replies
  • 75 views

Forum|alt.badge.img+2

I am facing runtime issues for one of my AIMMS project. I am thinking to pass an initial solution to the model before we call solve statement.  As per the documentation, I have activated the following. 

CPLEX X.X: Specific solvers > CPLEX X.X > General > Advanced start > Use advanced basis

I have stored the initial solution in an .xlsx file. I would like to assign this value to the variable. How to do it. I am not getting the options or idea. 

Where to assign or how to assign if I would like to assign an initial solution to the following variable.

 

 

 

Best answer by Chris Kuip

You may want to use AimmsDEX to read in data from an Excel Workbook to a variable, as illustrated in the enclosed example.

 

 

 

3 replies

Chris Kuip
AIMMSian
Forum|alt.badge.img+7
  • AIMMSian
  • 125 replies
  • Answer
  • June 5, 2024

You may want to use AimmsDEX to read in data from an Excel Workbook to a variable, as illustrated in the enclosed example.

 

 

 


Forum|alt.badge.img+2
  • Author
  • Enthusiast
  • 4 replies
  • June 6, 2024

Dear @Chris Kuip :

I am unable to open the AIMMS file. It is showing the following error. I am using AIMMS 4.85 version. 

 

 


Chris Kuip
AIMMSian
Forum|alt.badge.img+7
  • AIMMSian
  • 125 replies
  • June 6, 2024

The enclosed project is developed using AIMMS 24.5 which can be downloaded from https://www.aimms.com/support/downloads/



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

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