8#include "dlinear/util/exception.h"
13 DLINEAR_ASSERT(is_relational(f),
"Expected a relational formula");
20 DLINEAR_UNREACHABLE();
43 DLINEAR_UNREACHABLE();
64 DLINEAR_UNREACHABLE();
85 DLINEAR_UNREACHABLE();
100 DLINEAR_UNREACHABLE();
115std::ostream &operator<<(std::ostream &os,
const LpRowSense &lp_result) {
return os <<
toChar(lp_result); }
Global namespace for the dlinear library.
LpColBound operator~(LpColBound bound)
Relax the bound.
char toChar(LpColBound bound)
Convert the bound to a character.
LpColBound operator!(LpColBound bound)
Invert the bound with delta == 0.
LpColBound operator-(LpColBound bound)
Invert the bound with delta > 0.
LpRowSense parseLpSense(const Formula &f)
Parse the sense from a formula.
LpRowSense
Sense of a linear programming row describing a constraint.
@ LE
Less than or equal to.
@ GE
Greater than or equal to.