Class MILPSolver::Objective
Defined in File solver.h
Nested Relationships
This class is a nested type of Class MILPSolver.
Nested Types
Class Documentation
-
class Objective
Public Types
-
typedef map<int, Coefficient>::const_iterator const_iterator
Public Functions
-
inline Objective(const bool maxObj = false)
-
inline void setMaximise(const bool &m)
-
inline const bool &maximise() const
-
inline Coefficient &getTerm(const int &v)
-
inline const_iterator begin() const
-
inline const_iterator end() const
-
inline size_t size() const
-
struct Coefficient
Public Functions
-
inline Coefficient()
Public Members
-
double linearCoefficient
-
map<int, double> nonLinearCoefficients
-
inline Coefficient()
-
typedef map<int, Coefficient>::const_iterator const_iterator