39 virtual ProblemPtr readProblem(std::string fname, std::string dname,
40 std::string sname,
int &err);
42 virtual bool timeCheck();
67 virtual int writeSol_(
EnvPtr env, VarVector *orig_v,
72 const static std::string me_;
Declare the AMPLInterface class fo reading problems from AMPL.
Define the Environment class.
Declare the class LPEngine for solving LPs and getting solution.
Declare Presolver class for presolving.
Declare important 'types' used in Minotaur.
Interface to read ampl models using AMPL Solver Library. AMPLInterface class provides methods to read...
Definition: AMPLInterface.h:74
Definition: Environment.h:28
Definition: Solution.h:30
MINOTAUR_AMPL::AMPLInterface * iface_
AMPL Interface.
Definition: Solver.h:61
EnvPtr env_
Minotaur Environment.
Definition: Solver.h:58
bool ownIface_
Definition: Solver.h:65
virtual SolveStatus getStatus()=0
get status of the last solve
Solver()
Default constructor.
Definition: Solver.cpp:27
virtual int solve(ProblemPtr p)=0
Solve the problem.
virtual ~Solver()
Destroy.
Definition: Solver.cpp:35
virtual SolutionPtr getSol()=0
get solution of the last solve
virtual FileType getFileType(std::string fname)
Helper function to determin file type (mps, nl etc)
Definition: Solver.cpp:43
Definition: ActiveNodeStore.h:20
FileType
Different types of files for reading/writing.
Definition: Types.h:41
SolveStatus
Different states an algorithm like branch-and-bound can be in.
Definition: Types.h:158