problem.delpwlcons
problem.delpwlcons |
Purpose
Delete piecewise linear constraints from a problem.
Synopsis
problem.delpwlcons(mindex)
Argument
mindex
|
An integer array containing the piecewise linear constraints to delete.
|
Example
In this example, piecewise linear constraints
0 and
2 are deleted from the problem:
mindex = [0,2] prob.delpwlcons(mindex)
Further information
After piecewise linear constraints have been deleted from a problem, the indices of the remaining constraints are reduced so that the piecewise linear constraints are always numbered from
0 to
problem.attributes.pwlcons - 1 where
problem.attributes.pwlcons is the problem attribute containing the number of non-deleted piecewise linear constraints in the problem.
Related topics