Ipopt
3.12.12
|
Class for the Piecewise Penalty. More...
#include <IpPiecewisePenalty.hpp>
Public Member Functions | |
void | Clear () |
Delete all Piecewise Penalty entries. More... | |
void | Print (const Journalist &jnlst) |
Print current Piecewise Penalty entries. More... | |
Constructors/Destructors | |
PiecewisePenalty (Index dim) | |
Default Constructor. More... | |
~PiecewisePenalty () | |
Default Destructor. More... | |
bool | IsPiecewisePenaltyListEmpty () |
void | InitPiecewisePenaltyList (Number pen_r, Number barrier_obj, Number infeasi) |
bool | Acceptable (Number Fzconst, Number Fzlin) |
Check acceptability of given coordinates with respect to the Piecewise Penalty. More... | |
Number | BiggestBarr () |
Get the value of the biggest barrier function so far. More... | |
void | UpdateEntry (Number barrier_obj, Number infeasi) |
Update Piecewise Penalty entry for given coordinates. More... | |
void | AddEntry (Number pen_r, Number barrier_obj, Number infeasi) |
Add a entry to the list. More... | |
void | ResetList (Number pen_r, Number barrier_obj, Number infeasi) |
Clear and reset the piecewise penalty list. More... | |
Private Member Functions | |
Default Compiler Generated Methods | |
(Hidden to avoid implicit creation/calling). These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called. | |
PiecewisePenalty () | |
Default Constructor. More... | |
PiecewisePenalty (const PiecewisePenalty &) | |
Copy Constructor. More... | |
void | operator= (const PiecewisePenalty &) |
Overloaded Equals Operator. More... | |
Private Attributes | |
Index | dim_ |
Dimension of the Piecewise Penalty (number of coordinates per entry) More... | |
Number | min_piece_penalty_ |
The min penalty value for the piecewise penalty list. More... | |
Index | max_piece_number_ |
The max number of the break points in the piecewise penalty list. More... | |
std::vector< PiecewisePenEntry > | PiecewisePenalty_list_ |
vector storing the Piecewise Penalty entries More... | |
Class for the Piecewise Penalty.
This class contains all Piecewise Penalty entries. The entries are stored as the corner point, including the margin.
Definition at line 39 of file IpPiecewisePenalty.hpp.
Ipopt::PiecewisePenalty::PiecewisePenalty | ( | Index | dim | ) |
Default Constructor.
|
inline |
Default Destructor.
Definition at line 47 of file IpPiecewisePenalty.hpp.
|
private |
Default Constructor.
|
private |
Copy Constructor.
|
inline |
Definition at line 57 of file IpPiecewisePenalty.hpp.
|
inline |
Definition at line 62 of file IpPiecewisePenalty.hpp.
Check acceptability of given coordinates with respect to the Piecewise Penalty.
Returns true, if pair is acceptable
Number Ipopt::PiecewisePenalty::BiggestBarr | ( | ) |
Get the value of the biggest barrier function so far.
Update Piecewise Penalty entry for given coordinates.
Add a entry to the list.
Definition at line 81 of file IpPiecewisePenalty.hpp.
Clear and reset the piecewise penalty list.
Definition at line 97 of file IpPiecewisePenalty.hpp.
|
inline |
Delete all Piecewise Penalty entries.
Definition at line 106 of file IpPiecewisePenalty.hpp.
void Ipopt::PiecewisePenalty::Print | ( | const Journalist & | jnlst | ) |
Print current Piecewise Penalty entries.
|
private |
Overloaded Equals Operator.
|
private |
Dimension of the Piecewise Penalty (number of coordinates per entry)
Definition at line 133 of file IpPiecewisePenalty.hpp.
|
private |
The min penalty value for the piecewise penalty list.
Definition at line 136 of file IpPiecewisePenalty.hpp.
|
private |
The max number of the break points in the piecewise penalty list.
Definition at line 139 of file IpPiecewisePenalty.hpp.
|
private |
vector storing the Piecewise Penalty entries
Definition at line 142 of file IpPiecewisePenalty.hpp.