Ticket #3983 (new minor enhancement)

Opened 7 years ago

Last modified 7 years ago

Need to design a general "capabilities" set of query methods for the solver hierarchy

Reported by: jwatson Owned by: wehart
Priority: normal Milestone: Long Term
Component: pyomo.core Version:
Keywords: Cc: wehart@…, dlwoodruff@…


I just added a "allows-warm-starts" predicate to the solver hierarchy (to allow PH to do the right thing, depending on the solver being used), but immediately realized that we also need a "does-quadratic-lp" and "does-quadratic-mip" methods. For example, glpk barfs when given a completely legal LP file with quadratic PH terms, and the error message isn't all that clear (writing a parser to handle the error cases will be extremely difficult). It would be far cleaner to have PH query the solver to see if the requisite capabilities are there.

Change History

comment:1 Changed 7 years ago by wehart

  • Milestone set to Long Term
Note: See TracTickets for help on using tickets.