PWL
A piecewise linear constraint. More...
Public Member Functions |
|
| virtual auto | compareTo (PWL const &other) const -> int final |
| auto | getBreakpoints () -> std::vector< xpress::PwlBreakpoint > |
| Get the breakpoints for this piecewise linear constraint. |
|
| virtual auto | getHashCode () const -> std::size_t final |
| virtual auto | getIndex () const -> int final |
| virtual auto | getIndexForProb (XpressProblem const *xprob) const -> int final |
| auto | getInput () -> xpress::objects::Variable |
| Get the input for this piecewise linear constraint. |
|
| virtual auto | getName () const -> std::string final |
Examples using getName: |
|
| virtual auto | getProblem () const -> xpress::objects::XpressProblem *final |
| auto | getResultant () -> xpress::objects::Variable |
| Get the resultant for this piecewise linear constraint. |
|
| auto | setName (std::optional< std::string > newName) -> PWL & |
| Set the name of this PWL. |
|
| Public Member Functions inherited from xpress::objects::Index | |
Detailed Description
A piecewise linear constraint.
- Since
- 44.00
Member Function Documentation
compareTo()
|
inlinefinalvirtual |
- Since
- 44.00
getBreakpoints()
|
inline |
Get the breakpoints for this piecewise linear constraint.
Queries the xpress::objects::XpressProblem instance to which this pwl belongs and returns the breakpoints obtained from that instance.
- Returns
- This pwl's breakpoints.
- Since
- 44.00
getHashCode()
|
inlinefinalvirtual |
- Since
- 44.00
getIndex()
|
inlinefinalvirtual |
- Since
- 44.00
getIndexForProb()
|
inlinefinalvirtual |
- Since
- 44.00
getInput()
|
inline |
Get the input for this piecewise linear constraint.
Queries the xpress::objects::XpressProblem instance to which this pwl belongs and returns the input obtained from that instance.
- Returns
- This pwl's input
- Since
- 44.00
getName()
|
inlinefinalvirtual |
getProblem()
|
inlinefinalvirtual |
- Returns
-
The problem to which this element belongs. This will be
nullptrif the element was deleted.
- Since
- 44.00
getResultant()
|
inline |
Get the resultant for this piecewise linear constraint.
Queries the xpress::objects::XpressProblem instance to which this pwl belongs and returns the resultant obtained from that instance.
- Returns
- This pwl's resultant.
- Since
- 44.00
setName()
|
inline |
Set the name of this PWL.
Sets the name of this PWL in the problem instance that owns the object.
Examples using setName:
- Catenary.cpp
- ContractAllocation.cpp
- CuttingStock.cpp
- FolioIIS.cpp
- FolioInit.cpp
- FolioMip1.cpp
- FolioMipIIS.cpp
- FolioQC.cpp
- GeneralConstraints.cpp
- ProductionPlanning_Index.cpp
- RecursiveFinancialPlanning.cpp
- Parameters
-
newName The name to be set.
- Returns
- Always returns this instance.
- Since
- 44.00
The documentation for this class was generated from the following file:
- xpress_objects.hpp
© 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.
