MeshKit
1.0
|
#include <IASolverBend.hpp>
Public Member Functions | |
IASolverBend (const IAData *ia_data_ptr, IASolution *relaxed_solution_ptr, const bool set_silent=true) | |
virtual | ~IASolverBend () |
bool | solve () |
Private Member Functions | |
void | initialize_ip_bends () |
bool | update_ip_bends () |
double | raw_weight (const double g, double xlit, double xbig) |
void | merge_tilts (IPBend::TiltVec &tilts) |
void | tilt_weight (const IPBend::TiltVec &tilts, const int tilt_direction, const double g, const double xlit, const double xbig, const int delta_direction, double &w) |
bool | solve_nlp () |
void | cleanup () |
bool | round_solution () |
void | add_bend_weights (unsigned int i) |
double | f_x_value (double I_i, double x_i) const |
double | fpow (double f) const |
double | get_f_xl (int i) const |
double | get_f_xh (int i) const |
IASolverBend (const IASolverBend &) | |
IASolverBend & | operator= (const IASolverBend &) |
Private Attributes | |
bool | evenConstraintsActive |
const bool | silent |
const bool | debugging |
IABendNlp * | myianlp |
IPBendData | bendData |
IAWeights | weights |
Definition at line 24 of file IASolverBend.hpp.
IASolverBend | ( | const IAData * | ia_data_ptr, |
IASolution * | relaxed_solution_ptr, | ||
const bool | set_silent = true |
||
) |
default constructor
Definition at line 20 of file IASolverBend.cpp.
~IASolverBend | ( | ) | [virtual] |
default destructor
Definition at line 32 of file IASolverBend.cpp.
IASolverBend | ( | const IASolverBend & | ) | [private] |
void add_bend_weights | ( | unsigned int | i | ) | [private] |
Definition at line 538 of file IASolverBend.cpp.
void cleanup | ( | ) | [private] |
Definition at line 252 of file IASolverBend.cpp.
double f_x_value | ( | double | I_i, |
double | x_i | ||
) | const [private] |
Definition at line 261 of file IASolverBend.cpp.
double fpow | ( | double | f | ) | const [private] |
Definition at line 267 of file IASolverBend.cpp.
double get_f_xh | ( | int | i | ) | const [private] |
double get_f_xl | ( | int | i | ) | const [private] |
void initialize_ip_bends | ( | ) | [private] |
Definition at line 615 of file IASolverBend.cpp.
void merge_tilts | ( | IPBend::TiltVec & | tilts | ) | [private] |
Definition at line 441 of file IASolverBend.cpp.
IASolverBend& operator= | ( | const IASolverBend & | ) | [private] |
double raw_weight | ( | const double | g, |
double | xlit, | ||
double | xbig | ||
) | [private] |
Definition at line 518 of file IASolverBend.cpp.
bool round_solution | ( | ) | [private] |
Reimplemented from IASolverToolInt.
Definition at line 231 of file IASolverBend.cpp.
bool solve | ( | ) |
Definition at line 965 of file IASolverBend.cpp.
bool solve_nlp | ( | ) | [private] |
Definition at line 37 of file IASolverBend.cpp.
void tilt_weight | ( | const IPBend::TiltVec & | tilts, |
const int | tilt_direction, | ||
const double | g, | ||
const double | xlit, | ||
const double | xbig, | ||
const int | delta_direction, | ||
double & | w | ||
) | [private] |
Definition at line 466 of file IASolverBend.cpp.
bool update_ip_bends | ( | ) | [private] |
Definition at line 723 of file IASolverBend.cpp.
IPBendData bendData [private] |
Definition at line 80 of file IASolverBend.hpp.
const bool debugging [private] |
Definition at line 50 of file IASolverBend.hpp.
bool evenConstraintsActive [private] |
Definition at line 46 of file IASolverBend.hpp.
Definition at line 78 of file IASolverBend.hpp.
const bool silent [private] |
Definition at line 49 of file IASolverBend.hpp.
Definition at line 83 of file IASolverBend.hpp.