|
| FakeWorkerMaster (WorkerMasterPtr worker_master) |
|
std::vector< int > | get_id_nb_units () const override |
|
void | DeactivateIntegrityConstraints () const override |
|
void | ActivateIntegrityConstraints () const override |
|
SolverAbstract::Ptr | solver () const override |
|
| WorkerMaster (Logger logger) |
|
| WorkerMaster (VariableMap const &variable_map, const std::filesystem::path &path_to_mps, const std::string &solver_name, const int log_level, int subproblems_count, SolverLogManager &solver_log_manager, bool mps_has_alpha, Logger logger) |
| Constructor of a Master Problem.
|
|
void | get (Point &x0, double &overall_subpb_cost_under_approx, DblVector &single_subpb_costs_under_approx) |
| Return optimal variables of a problem.
|
|
void | get_dual_values (std::vector< double > &dual) const |
| Set dual values of a problem in a vector.
|
|
int | get_number_constraint () const |
| Return number of constraint in a problem.
|
|
void | add_cut (Point const &s, Point const &x0, double const &rhs) const |
| Add benders cut to a problem.
|
|
void | add_cut_by_iter (int const i, Point const &s, double const &sx0, double const &rhs) const |
| Add benders cut to a problem.
|
|
void | add_dynamic_cut (Point const &s, double const &sx0, double const &rhs) const |
| Add benders cut to a problem.
|
|
void | addSubproblemCut (int i, Point const &s, Point const &x0, double const &rhs) const |
| Add one benders cut to a problem.
|
|
void | fix_alpha (double const &bestUB) const |
| Fix an upper bound and the variable overall_subpb_cost_under_approx of a problem.
|
|
| Worker (Logger logger) |
|
void | init (VariableMap const &variable_map, const std::filesystem::path &path_to_mps, std::string const &solver_name, int log_level, SolverLogManager &solver_log_manager) |
| Initialization of a problem.
|
|
void | get_value (double &lb) const |
| Return the optimal value of a problem.
|
|
void | get_splex_num_of_ite_last (int &result) const |
| Get the number of iteration needed to solve a problem.
|
|
void | free () |
| Free the problem.
|
|
void | write_basis (const std::filesystem::path &filename) const |
|
void | solve (int &lp_status, const std::string &outputroot, const std::string &output_master_mps_file_name, Writer writer) const |
| Method to solve a problem.
|
|
int | RowIndex (const std::string &row_name) const |
|
void | ChangeRhs (int id_row, double val) const |
|
void | GetRhs (double *val, int id_row) const |
|
void | AddRows (std::vector< char > const &qrtype_p, std::vector< double > const &rhs_p, std::vector< double > const &range_p, std::vector< int > const &mstart_p, std::vector< int > const &mclind_p, std::vector< double > const &dmatval_p, const std::vector< std::string > &row_names) const |
|
int | Getnrows () const |
| Returns the number of rows (constraints)
|
|
int | Getncols () const |
|