|
PIPS-IPM++ Solver and Tools
a parallel interior-point method for doubly bordered block diagonal linear programs
|
Classes | |
| class | Option |
| an option of template type T More... | |
| class | PIPSIPMppOptions |
| all PIPS-IPM++ options More... | |
Enumerations | |
| enum | Type { integer , real , boolean , string } |
| option value type More... | |
| enum | Category { output = 0 , presolve , postsolve , scaling , interior_point , regularization , schur_complement , outer_solve , inner_solve , linear_solver , linesearch , hierarchical , misc } |
| option categories More... | |
Functions | |
| bool | is_solver_available (SolverType solver) |
| void | set_options (const std::string &opt_file) |
| void | set_option (const std::string &opt_setting) |
| void | adjust_options () |
| void | reset () |
| reset all options to their default value | |
| void | print_modified_options (std::ostream &out) |
| void | print_options_docu (std::ostream &out) |
| template<typename T> | |
| void | set_parameter (const std::string &identifier, const T &value) |
| void | set_parameter (const std::string &identifier, const char *value) |
| void | set_int_parameter (const std::string &identifier, int value) |
| void | set_double_parameter (const std::string &identifier, double value) |
| void | set_bool_parameter (const std::string &identifier, bool value) |
| void | set_string_parameter (const std::string &identifier, const std::string &value) |
| template<typename T> | |
| const Option< T > & | get_option (const std::string &identifier) |
| template<typename T> | |
| const T & | get_parameter (const std::string &identifier) |
| int | get_int_parameter (const std::string &identifier) |
| double | get_double_parameter (const std::string &identifier) |
| bool | get_bool_parameter (const std::string &identifier) |
| const std::string & | get_string_parameter (const std::string &identifier) |
| const std::string & | get_string_parameter_value_description (const std::string &identifier) |
| SolverType | get_solvertype_parameter (const std::string &identifier) |
Options methods and objects
option categories
| void pipsipmpp::options::adjust_options | ( | ) |
updates some options settings according to other settings that may have been set should be called after options file has been read
|
inline |
get value of boolean-valued option for option name
| identifier | name of option for which to get current value |
|
inline |
get value of double-valued option for option name
| identifier | name of option for which to get current value |
|
inline |
get value of integer-valued option for option name
| identifier | name of option for which to get current value |
|
inline |
get option object for option name
| identifier | name of option to get |
|
inline |
get value of option for option name
| identifier | name of option for which to get current value |
| SolverType pipsipmpp::options::get_solvertype_parameter | ( | const std::string & | identifier | ) |
get the linear subsystem solver enum value corresponding to the value that an option (given by its name) has been set to
| identifier | name of linear subsystem solver option |
|
inline |
get value of string-valued option for option name
| identifier | name of option for which to get current value |
| const std::string & pipsipmpp::options::get_string_parameter_value_description | ( | const std::string & | identifier | ) |
get description for the value that an enumerated string-valued option has been set to
| identifier | name of option for which to description of current value |
| bool pipsipmpp::options::is_solver_available | ( | SolverType | solver | ) |
Query existence of a linear subsystem solver.
| solver | the linear subsystem solver to check for |
| void pipsipmpp::options::print_modified_options | ( | std::ostream & | out | ) |
write out all options not set to default
| out | stream to print to |
| void pipsipmpp::options::print_options_docu | ( | std::ostream & | out | ) |
write out all options that have been set
| out | stream to print to |
|
inline |
set bool-valued option
| identifier | name of option to set |
| value | value the option should be set to |
|
inline |
set double-valued option
| identifier | name of option to set |
| value | value the option should be set to |
|
inline |
set integer-valued option
| identifier | name of option to set |
| value | value the option should be set to |
| void pipsipmpp::options::set_option | ( | const std::string & | opt_setting | ) |
process a single option setting line (OPT=val)
| opt_setting | option setting to apply |
| void pipsipmpp::options::set_options | ( | const std::string & | opt_file | ) |
read options from an options file
| opt_file | name of options file |
|
inline |
set string-valued option
| identifier | name of option to set |
| value | value the option should be set to |
|
inline |
set string-valued option
| identifier | name of option to set |
| value | value the option should be set to |
|
inline |
set string-valued option
| identifier | name of option to set |
| value | value the option should be set to |