Minotaur 0.4.1
Docs for developers
|
#include <Bnb.h>
Public Member Functions | |
Bnb (EnvPtr env) | |
Default constructor. | |
~Bnb () | |
Destroy. | |
void | doSetup () |
void | showHelp () const |
show help messages | |
int | showInfo () |
Display information. | |
virtual int | solve (ProblemPtr p) |
Solve the problem. More... | |
virtual std::string | getAbout () |
virtual SolveStatus | getStatus () |
get status of the last solve. More... | |
virtual DoubleVector | getSolution () |
get solution of the last solve. | |
double | getUb () |
Return the upper bound for the optimal value. | |
double | getLb () |
Return the lower bound for the optimal value. | |
![]() | |
Solver () | |
Default constructor. | |
virtual | ~Solver () |
Destroy. | |
virtual FileType | getFileType (std::string fname) |
Helper function to determin file type (mps, nl etc) | |
virtual ProblemPtr | readProblem (std::string fname, std::string dname, std::string sname, int &err) |
virtual bool | timeCheck () |
virtual int | solve (ProblemPtr p)=0 |
Solve the problem. More... | |
virtual SolveStatus | getStatus ()=0 |
get status of the last solve More... | |
void | setIface (MINOTAUR_AMPL::AMPLInterface *iface) |
Additional Inherited Members | |
![]() | |
virtual int | writeSol_ (EnvPtr env, VarVector *orig_v, PresolverPtr pres, SolutionPtr sol, SolveStatus status, MINOTAUR_AMPL::AMPLInterface *iface) |
![]() | |
EnvPtr | env_ |
MINOTAUR_AMPL::AMPLInterface * | iface_ |
bool | ownIface_ |
The Bnb class sets up methods for solving a convex MINLP instance using the NLP based Branch-and-Bound
|
virtual |
get status of the last solve.
Implements Minotaur::Solver.
|
virtual |
Solve the problem.
Implements Minotaur::Solver.