I use pyomo to formulate my problem and then use ampl to call knitro to solve my problem, as show in code below.
self.solver_pyo = pyo.SolverFactory(modules.find(“Knitro”), solve_io = “nl”)
And my program contains 3 processes to solve three different problem simultaneously, with two successfully returns local optimal solution, the third one reports error with message below:
ERROR: Solver (asl) returned non-zero return code (-11)
ERROR: See the solver log above for diagnostic information.
I have checked the document of Knitro, it didn’t explain return code (-11).
So I wonder if anyone could explain it why it didn’t work ?
Appreciate your answer !