Google OR-Tools v9.14
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...

Detailed Description

Container for nested types declared in the MPSosConstraint message type.

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

Public Types

enum  Type { Sos1Default = 0 , Sos2 = 1 }

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 2564 of file LinearSolver.pb.cs.


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