Package | Description |
---|---|
com.google.ortools.sat |
Modifier and Type | Method and Description |
---|---|
ReservoirConstraint |
ReservoirConstraint.addEvent(LinearArgument time,
long levelChange)
Adds a mandatory event
It will increase the used capacity by `levelChange` at time `time`.
|
ReservoirConstraint |
ReservoirConstraint.addEvent(long time,
long levelChange)
Adds a mandatory event at a fixed time
It will increase the used capacity by `levelChange` at time `time`.
|
ReservoirConstraint |
ReservoirConstraint.addOptionalEvent(LinearExpr time,
long levelChange,
Literal isActive)
Adds an optional event
If `isActive` is true, It will increase the used capacity by `levelChange` at time `time`.
|
ReservoirConstraint |
ReservoirConstraint.addOptionalEvent(long time,
long levelChange,
Literal isActive)
Adds an optional event at a fixed time
If `isActive` is true, It will increase the used capacity by `levelChange` at time `time`.
|
ReservoirConstraint |
CpModel.addReservoirConstraint(long minLevel,
long maxLevel)
Adds a reservoir constraint with optional refill/emptying events.
|
Copyright © 2025. All rights reserved.