Minotaur 0.4.1
Docs for developers
SolCheck.h
Go to the documentation of this file.
1//
2// MINOTAUR -- It's only half bull!
3//
4// (C)opyright 2009 - 2021 The MINOTAUR Team.
5//
6
13#ifndef SOLCHECK_H
14#define SOLCHECK_H
15
16#include "Types.h"
17#include "Solver.h"
18
19namespace Minotaur {
24class SolCheck : public Solver {
25public:
27 SolCheck(EnvPtr env);
28
30 ~SolCheck();
31
32 void doSetup();
33
35 void showHelp() const;
36
38 int showInfo();
39
41 int solve(ProblemPtr p);
42
44 std::string getAbout();
45
48
50 // virtual DoubleVector getSolution();
51
53 double getUb();
54
56 double getLb();
57
58private:
59 const static std::string me_;
60 double objSense_;
61 ProblemPtr oinst_;
62 SolveStatus status_;
63
64};
65}
66#endif
67
68
69
Define the abstract base class Solver.
Declare important 'types' used in Minotaur.
Definition: Environment.h:28
Definition: Problem.h:74
Definition: SolCheck.h:24
SolCheck(EnvPtr env)
Default constructor.
Definition: SolCheck.cpp:32
double getUb()
get solution of the last solve.
int showInfo()
Display information.
Definition: SolCheck.cpp:86
double getLb()
Return the lower bound for the optimal value.
void showHelp() const
show help messages
Definition: SolCheck.cpp:73
int solve(ProblemPtr p)
Solve the problem.
Definition: SolCheck.cpp:113
std::string getAbout()
get status of the last solve.
Definition: SolCheck.cpp:51
~SolCheck()
Destroy.
Definition: SolCheck.cpp:41
SolveStatus getStatus()
get status of the last solve.
Definition: SolCheck.cpp:67
Definition: Solver.h:28
Definition: ActiveNodeStore.h:20
SolveStatus
Different states an algorithm like branch-and-bound can be in.
Definition: Types.h:158

Minotaur source code documented by Doxygen 1.9.4 on Fri Apr 25 2025