Skip to main content

Variable: IntervalMin

const IntervalMin: -715827882 = -715827882

Remarks

Minimum value of start or end of an interval variable. The opposite of IntervalMax.

Use IntervalMin when you want to leave the start time of an interval variable unconstrained.

Example

import * as CP from "optalcp";

const model = new CP.Model();
// IntervalMin is the minimum allowed value for interval start/end
const task = model.intervalVar({ start: [CP.IntervalMin, 0], length: 10, name: "task" });