C++ wrapper for SCIP.
More...
|
namespace | params |
| Enum equivalent of SCIP's string parameters.
|
|
namespace | statistics |
| Parameters to access statistics with.
|
|
◆ Sense
Optimization goal.
Enumerator |
---|
MAXIMIZE | Maximize.
|
MINIMIZE | Minimize.
|
Definition at line 26 of file model.hpp.
◆ VarType
Type of a variable.
- Since
- 1.0.0
Enumerator |
---|
BINARY | Binary variable.
- Since
- 1.0.0
|
INTEGER | Integral variable.
- Since
- 1.0.0
|
IMPL_INT | Implicit integral variable.
- Since
- 1.0.0
|
CONTINUOUS | Continuous variable.
- Since
- 1.0.0
|
Definition at line 11 of file var_type.hpp.
◆ getVersion()
std::string_view scippp::getVersion |
( |
| ) |
|
Returns the version number.
- Since
- 1.0.0
- Returns
- Version number in semver-format.
◆ operator*()
Scales a linear expression by a factor.
- Since
- 1.0.0
- Parameters
-
factor | to scale the expression with. |
rhs | expression to scale. |
- Returns
- scaled expression.
◆ operator+()
Creates a new linear expression as the sum of two.
- Since
- 1.0.0
- Parameters
-
lhs | First summand. |
rhs | Second summand. |
- Returns
- Sum of both expressions.
◆ operator-()
Creates the new linear expression lhs
- rhs
.
- Since
- 1.0.0
- Parameters
-
lhs | minuend. |
rhs | subtrahend. |
- Returns
- minuend minus subtrahend.
◆ operator<=()
Creates the inequality lhs
<= rhs
.
- Since
- 1.0.0
- Parameters
-
lhs | Left-hand-side of the less-or-equal inequality. |
rhs | Right-hand-side of the less-or-equal inequality. |
- Returns
- Inequality less-or-equal.
◆ operator==()
Creates the equality lhs
== rhs
.
- Since
- 1.0.0
- Parameters
-
lhs | Left-hand-side of the equality. |
rhs | Right-hand-side of the equality. |
- Returns
- Equality inequality.
◆ operator>=()
Creates the inequality lhs
>= rhs
.
- Since
- 1.0.0
- Parameters
-
lhs | Left-hand-side of the greater-or-equal inequality. |
rhs | Right-hand-side of the greater-or-equal inequality. |
- Returns
- Inequality greater-or-equal.
◆ COEFF_ONE
◆ COEFF_ZERO