fslaborg / flips

Fsharp LInear Programming System
https://flipslibrary.com/#/
MIT License
251 stars 32 forks source link

Extensibility: pre-run callback to initialize the underlying solver settings #103

Closed smoothdeveloper closed 3 years ago

smoothdeveloper commented 3 years ago

Some problems require access to the underlying solver object to adjust specific settings before running the solver.

In the case of CPLEX, those parameters are defined in key / value pairs, where the key is a string, and the value may be one of:

https://perso.ensta-paris.fr/~diam//ro/online/cplex/cplex1271/refdotnetcplex/html/T_ILOG_CPLEX_Cplex_Param.htm

Investigate what other solvers do for similar concern and identify an approach to offer ability to adjust those settings pre-run.

Additional reference for cplex parameters:

https://www.ibm.com/support/knowledgecenter/ko/SSSA5P_12.8.0/ilog.odms.cplex.help/CPLEX/Parameters/topics/introListAlpha.html

https://www.ibm.com/support/knowledgecenter/ko/SSSA5P_12.8.0/ilog.odms.cplex.help/CPLEX/homepages/refparameterscplex.html?view=embed

smoothdeveloper commented 3 years ago

Closing via #128