GetPwlCons(Int32[], Int32[], Int32[], Double[], Double[], Int32, Int32, Int32, Int32) Method
Namespace: Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 45.01.02+1f9fd7ff9a8620394fec1839699751312debed40
public void GetPwlCons( int[] colind, int[] resultant, int[] start, double[] xval, double[] yval, int maxpoints, out int p_npoints, int first, int last )
Parameters
- colind Int32
- Integer array which will be filled with the indices of the input variables x. It must be of length at least last-first+1. May be null if not required.
- resultant Int32
- Integer array which will be filled with the indices of the output variables y. It must be of length at least last-first+1. May be null if not required.
- start Int32
- Integer array which will be filled with the start indices of the different constraints in the breakpoint arrays. It must be of length at least last-first+2. The x-values of the breakpoints of piecewise linear constraint i < last will be given in xval[start[i]] to xval[start[i+1]]. May be null if not required.
- xval Double
- Double array of length maxpoints which will be filled with the x-values of the breakpoints. May be null if not required.
- yval Double
- Double array of length maxpoints which will be filled with the y-values of the breakpoints. May be null if not required.
- maxpoints Int32
- Maximum number of breakpoints to be retrieved.
- p_npoints Int32
- Pointer to return the number of breakpoints in the selected constraints. If the number of breakpoints is greater than maxpoints, then only maxpoints elements will be returned in the xval and yval arrays. May be null if not required.
- first Int32
- First piecewise linear constraint in the range.
- last Int32
- Last piecewise linear constraint in the range.
© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.