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

#include <integer_search.h>

Public Attributes

BooleanVariable bool_var = kNoBooleanVariable
 
IntegerVariable int_var = kNoIntegerVariable
 

Detailed Description

Set the first unassigned Literal/Variable to its value.

Todo
(user): This is currently quadratic as we scan all variables to find the first unassigned one. Fix. Note that this is also the case in many other heuristics and should be fixed.

Definition at line 197 of file integer_search.h.

Member Data Documentation

◆ bool_var

BooleanVariable operations_research::sat::BooleanOrIntegerVariable::bool_var = kNoBooleanVariable

Definition at line 198 of file integer_search.h.

◆ int_var

IntegerVariable operations_research::sat::BooleanOrIntegerVariable::int_var = kNoIntegerVariable

Definition at line 199 of file integer_search.h.


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