Skip to main content
Solved

AIMMS Pro Error while uploading

  • June 29, 2021
  • 1 reply
  • 53 views

Forum|alt.badge.img+2

I am getting this error while uploading my aimmspack file. Could you please let me know what to do to resolve the same?

Best answer by dsalakirova

Hi, 

We have checked the cloud logs and this is the error we found: 'CPLEX 12.10' is outside the range set "AllSolvers" of element parameter "SolverSelection", see also option "warning range violation".

Please know that while uploading during the project verification initialization routines of the project are ran.

A best practice is selecting a solver in the procedure that is delegated, before the solve statement (not in MainInitialization). You can try doing it as shown below:

SolverSelection := last( indexSolvers | Findstring( formatString( "%e", indexSolvers  ), "CPLEX" ) );

 

Kind regards,

Dessie

 

1 reply

Forum|alt.badge.img+5
  • AIMMSian
  • 17 replies
  • Answer
  • June 29, 2021

Hi, 

We have checked the cloud logs and this is the error we found: 'CPLEX 12.10' is outside the range set "AllSolvers" of element parameter "SolverSelection", see also option "warning range violation".

Please know that while uploading during the project verification initialization routines of the project are ran.

A best practice is selecting a solver in the procedure that is delegated, before the solve statement (not in MainInitialization). You can try doing it as shown below:

SolverSelection := last( indexSolvers | Findstring( formatString( "%e", indexSolvers  ), "CPLEX" ) );

 

Kind regards,

Dessie

 



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

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