GetPwlCons Method (Int32[], Int32[], Int32[], Double[], Double[], Int32, Int32, Int32, Int32)
Namespace: Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 44.01.01
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
-
Type:
System.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
-
Type:
System.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
-
Type:
System.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
-
Type:
System.Double
Double array of length maxpoints which will be filled with the x-values of the breakpoints. May be null if not required. - yval
-
Type:
System.Double
Double array of length maxpoints which will be filled with the y-values of the breakpoints. May be null if not required. - maxpoints
-
Type:
System.Int32
Maximum number of breakpoints to be retrieved. - p_npoints
-
Type:
System.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
-
Type:
System.Int32
First piecewise linear constraint in the range. - last
-
Type:
System.Int32
Last piecewise linear constraint in the range.
© 2001-2024 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.