On Tuesday, 1 September 2015 23:05:44 UTC-7, Nathann Cohen wrote: > > > isn't it a bit too much code to have this for each backend, rather than > just > > something that communicates with the > > frontend only? > > Indeed. Were you thinking of something like that? > > 1) Use GLPK to load a LP/MPS from a file > 2) Read the MILP at Python-level > 3) Use the info to create a new MILP object, and return it along with > the MIPVariable >
It seems that 3) should disregard MIPVariable. Otherwise, how do you use a backend different from GLPK? I think something like "from_file=..." argument in MixedIntegerLinearProgram() should be implemented, and it ought to be compatible with "solver=...". Behind the curtains it can talk to GLPK, no problem... Dima > > Nathann > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
