ampl / mp

An open-source library for mathematical programming
https://mp.ampl.com
Other
229 stars 42 forks source link

Decouple problem and solver APIs #95

Closed vitaut closed 2 years ago

vitaut commented 8 years ago

This should go:

  BasicProblem(const Solver &, fmt::StringRef) {}
vitaut commented 8 years ago

Removed the string argument in https://github.com/ampl/mp/commit/9335f7973cb587e9bd2b30ace958c3bdfb664f19.

glebbelov commented 2 years ago

Also this should go (in various places):

typename Solver::ProblemBuilder

A Solver should be ignorant of the Builder used (at least, for SRP). It seems a convenience typedef anyway.