opt = SolverFactory(solver,solver_io='python')
Carlos is absolutely correct: the direct python interfaces are generally significantly faster as they avoid generating and parsing files. Alas, at this moment, they only exist for Gurobi and CPLEX.
Separately, Benjamin: would you mind sharing your model with us (off-list)? I am collecting a library of larger models from the real world that we can use for performance profiling, benchmarking, and tuning.
Thanks!
John
--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
pyomo-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.