Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
OperationsResearch.MPSosConstraint.Types Class Reference

Container for nested types declared in the MPSosConstraint message type. More...

Public Types

enum  Type { Sos1Default = 0 , Sos2 = 1 }
 

Detailed Description

Container for nested types declared in the MPSosConstraint message type.

Definition at line 2523 of file LinearSolver.pb.cs.

Member Enumeration Documentation

◆ Type

Enumerator
Sos1Default 

At most one variable in var_index must be non-zero.

Sos2 

At most two consecutive variables from var_index can be non-zero (i.e. for some i, var_index[i] and var_index[i+1]). See https://en.wikipedia.org/wiki/Special_ordered_set#Types_of_SOS.

Definition at line 2524 of file LinearSolver.pb.cs.


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