Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::LinearTerm Struct Reference

#include <precedences.h>

Public Attributes

IntegerVariable var = kNoIntegerVariable
 
IntegerValue coeff = IntegerValue(0)
 

Detailed Description

Similar to AffineExpression, but with a zero constant. If coeff is zero, then this is always zero and var is ignored.

Definition at line 464 of file precedences.h.

Member Data Documentation

◆ coeff

IntegerValue operations_research::sat::LinearTerm::coeff = IntegerValue(0)

Definition at line 466 of file precedences.h.

◆ var

IntegerVariable operations_research::sat::LinearTerm::var = kNoIntegerVariable

Definition at line 465 of file precedences.h.


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