Ticket #3983 (new minor enhancement)
Need to design a general "capabilities" set of query methods for the solver hierarchy
|Reported by:||jwatson||Owned by:||wehart|
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.