Initializing help system before first use

PWL Class

A piecewise linear constraint.
Inheritance Hierarchy
SystemObject
   Optimizer.ObjectsPWL

Namespace:  Optimizer.Objects
Assembly: xprsdn (in xprsdn.dll) Version: 45.01.02+1f9fd7ff9a8620394fec1839699751312debed40
Syntax
C#
public sealed class PWL : IIndex, IComparable<PWL>

The PWL type exposes the following members.

Methods
  Name Description
Public method CompareTo Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public method Equals Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Public method GetBreakpoints Get the breakpoints for this piecewise linear constraint. Queries the Optimizer.Objects.XpressProblem instance to which this pwl belongs and returns the breakpoints obtained from that instance.
Public method GetHashCode Serves as the default hash function.
(Overrides ObjectGetHashCode)
Public method GetIndex Get the index that this object has in the underlying model. Attention: this is a very advanced function. Use it only if you know exactly what you are doing.
Public method GetIndexForProb Get the index stored in this object but raise an exception if the problem that created this object is not prob.
Public method GetInput Get the input for this piecewise linear constraint. Queries the Optimizer.Objects.XpressProblem instance to which this pwl belongs and returns the input obtained from that instance.
Public method GetName Get the name of this object. Queries the problem instance that owns this object and returns the name from that instance.
Public method GetProblem Get the problem to which this element belongs.
Public method GetResultant Get the resultant for this piecewise linear constraint. Queries the Optimizer.Objects.XpressProblem instance to which this pwl belongs and returns the resultant obtained from that instance.
Public method GetSerial Get the serial number of this object.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method MarkDeleted  
Public method SetName Set the name of this PWL. Sets the name of this PWL in the problem instance that owns the object.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method UpdateIndex Add delta to this object's index.
Top
See Also

© 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.