Hello there,
My situation is the following:
The thing is I have a Gurobi license but it’s in a different pc from the one I have the python project. I do not have the possibility to install python there.
So I would like to do the following:
writeLP function..sol file and load the results into python/pulp variables via the GUROBI_CMD class and itsreadsol function.I guess this is a similar case to using the NEOS server to solve the instance and then having to load back the results into pulp and/ or python.
I’ve already tested solving the mps model with Gurobi and it does so really well. My problem is loading it back into pulp.
What would be the best way to accomplish this? I’ve been checking the solvers.py file to understand how the files are generated and loaded but I’m still not sure how to handle the name mapping that happens inside pulp.
I would like to be able to use the variable[index].value() syntax after loading the solution file but I’d only have the model object and the solution file at that point.
Should I build a custom-made python parser for the solution file that gurobi returns? Or could I adapt pulp’s internal functions to load the solution file correctly?
Ideally the functions I would like to have would be:
thanks!
Franco
--
You received this message because you are subscribed to the Google Groups "pulp-or-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pulp-or-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pulp-or-discuss@googlegroups.com.
Visit this group at https://groups.google.com/group/pulp-or-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "pulp-or-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pulp-or-discuss/K651is30GF0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pulp-or-discuss+unsubscribe@googlegroups.com.