I am working on a scheduling problem that is already coded in Pyomo. To solve the problem, I have used the NEOS solver, CPLEX. Now, to test and run some of the instances, I need to call some CPLEX internal options like, mipgap, branching priority, warm-start, solver log, etc. I also tried some functions to do this, but a few of them can work fine in a robust way, specifically, when needs to invoke the solution after the optimization terminates. The method I am currently using is something like this:
results = solver_manager.solve(m, solver = "cplex", tee= True, keepfiles=True, logfile = "log.txt", options_string="mipgap=0.1")
At the moment, this method can only handle solver = "cplex"
and options_string="mipgap=0.1"
. Also, Pyomo documents contain cplex options, but it has not been mentioned (at least I can't find) how those can be applied when one would like to use NEOS. My question is, is there any robust way to use CPLEX internal options when it is called by NEOS?