SCIP++ refs/heads/main
 
Loading...
Searching...
No Matches
scippp::LinIneq Class Reference

Represents a linear inequality: lhs <= expr <= rhs. More...

#include <lin_ineq.hpp>

Friends

class Model
 
LinIneq operator<= (const LinExpr &lhs, const LinExpr &rhs)
 Creates the inequality lhs <= rhs.
 
LinIneq operator== (const LinExpr &lhs, const LinExpr &rhs)
 Creates the equality lhs == rhs.
 

Detailed Description

Represents a linear inequality: lhs <= expr <= rhs.

Can be constructed only by operators.

Since
1.0.0

Definition at line 16 of file lin_ineq.hpp.

Friends And Related Function Documentation

◆ Model

friend class Model
friend

Definition at line 23 of file lin_ineq.hpp.

◆ operator<=

LinIneq operator<= ( const LinExpr lhs,
const LinExpr rhs 
)
friend

Creates the inequality lhs <= rhs.

Since
1.0.0
Parameters
lhsLeft-hand-side of the less-or-equal inequality.
rhsRight-hand-side of the less-or-equal inequality.
Returns
Inequality less-or-equal.

◆ operator==

LinIneq operator== ( const LinExpr lhs,
const LinExpr rhs 
)
friend

Creates the equality lhs == rhs.

Since
1.0.0
Parameters
lhsLeft-hand-side of the equality.
rhsRight-hand-side of the equality.
Returns
Equality inequality.

The documentation for this class was generated from the following file: