Skip to main content

Hi all,

I found the setting to use an intial solution in AIMMS for Gurobi, however, how and where do you efficiently add this initial solution in AIMMS? 

Can I export an AIMMS output and read it again to use as the intial value? If so, how? 

 

I found this topic, but the link does not work: How to start solving with an initial solution | AIMMS Community

Hey, does this helps?

https://how-to.aimms.com/Articles/108/108-kb11-mip-initial-solution.html


Hi @GaboriauArthur , 

I already saw that article and also set the settings according to it. 

But how do I set the intitial values and where do I set them (e.g. in the MainExecution or somewhere else) because I have a model with a lot of variables and entering them manually is not efficient. 


You have to assign level values to the variables before you call the solve statement. You can do that using an assignment statement like

x(i,j) := p(i,j);

or read the variable values from a case file (if you have stored them in the case file), or from some other data source.


Reply


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

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