segmentStart

OPL function (scheduling) to return the start of a segment of a cumulative or state function.

Purpose

OPL function (scheduling) to return the start of the indexed segment of a cumulative function or a state function in the solution.

context type
Model files (.mod) — postprocessing
int

Syntax

segmentStart(f, i);

Where:

int i;
cumulFunction f;
stateFunction f;

Description

This function returns the start time of the segment referenced by the index i of cumulative function or state function f in the solution. This function is available when a solution exists.