FRAMES NO FRAMES

IlcMakeTransitionCost

public IlcTransitionCostObject IlcMakeTransitionCost(IlcTransitionTable table, IlcIntArray setups, IlcIntArray teardowns)
public IlcTransitionCostObject IlcMakeTransitionCost(IlcTransitionTable table)
public IlcTransitionCostObject IlcMakeTransitionCost(IlcTransitionTable table, IlcIntArray setups)
Definition file: ilsched/trancost.h
Include file: <ilsched/ilsched.h>

This function creates an instance of IlcTransitionCostObject. It uses an instance of IlcTransitionTable for the transition cost and IlcIntArray for the setup and teardown costs. The table and arrays must be of the same size and filled with positive integers.

The transition, setup, and teardown costs of an instance of IlcTransitionCostObject are calculated using the transition type of the activities of the resource constraint. Notice that this implies that the transition type of the activities must be non-negative and strictly smaller than the size of the table.

See Also: