OR-Tools  9.6
expressions.cc File Reference

Go to the source code of this file.

Classes

class  PiecewiseLinearExpr
 

Namespaces

 operations_research
 Collection of objects used to extend the Constraint Solver library.
 

Functions

 ABSL_FLAG (bool, cp_disable_expression_optimization, false, "Disable special optimization when creating expressions.")
 
 ABSL_FLAG (bool, cp_share_int_consts, true, "Share IntConst's with the same value.")
 
void CleanVariableOnFail (IntVar *const var)
 
Constraint * SetIsEqual (IntVar *const var, const std::vector< int64_t > &values, const std::vector< IntVar * > &vars)
 
Constraint * SetIsGreaterOrEqual (IntVar *const var, const std::vector< int64_t > &values, const std::vector< IntVar * > &vars)
 
void RestoreBoolValue (IntVar *const var)
 
void LinkVarExpr (Solver *const s, IntExpr *const expr, IntVar *const var)
 

Function Documentation

◆ ABSL_FLAG() [1/2]

ABSL_FLAG ( bool  ,
cp_disable_expression_optimization  ,
false  ,
"Disable special optimization when creating expressions."   
)

◆ ABSL_FLAG() [2/2]

ABSL_FLAG ( bool  ,
cp_share_int_consts  ,
true  ,
"Share IntConst's with the same value."   
)

Variable Documentation

◆ cst_

const int64_t cst_
protected

Definition at line 2723 of file expressions.cc.

◆ iterator_

IntVarIterator* const iterator_
protected

Definition at line 2189 of file expressions.cc.

◆ limit_

const int64_t limit_
protected

Definition at line 5501 of file expressions.cc.

◆ pow_

const int64_t pow_
protected

Definition at line 5500 of file expressions.cc.

◆ solver_

Solver* const solver_
protected

Definition at line 279 of file expressions.cc.