|
| SCIPSolver (const typename SystemType::StateVec &state_weights, const typename SystemType::StateVec &final_weights, const typename SystemType::InputVec &input_weights, const typename SystemType::StateVec &set_point, COST_TYPE cost_type, const SystemType &system, double system_dt) |
|
void | addInputConstraintOnIndex (int index, double lb, double ub) override |
|
void | addStateConstraintOnIndex (int index, double lb, double ub) override |
|
void | addInputConstraintOnStep (int step, const typename SystemType::InputVec &lb, const typename SystemType::InputVec &ub) override |
|
void | addStateConstraintOnStep (int step, const typename SystemType::StateVec &lb, const typename SystemType::StateVec &ub) override |
|
void | setFinalWeights (const typename SystemType::StateVec &final_weights) override |
|
void | setStateWeights (const typename SystemType::StateVec &state_weights) override |
|
void | setInputWeights (const typename SystemType::InputVec &state_weights) override |
|
void | setSetPoint (const typename SystemType::StateVec &set_point) override |
|
void | setState (const typename SystemType::StateVec &state) override |
|
void | setInputHistory (const typename Eigen::Matrix< double, SystemType::NUM_INPUTS, SolverBase::history_depth > &bin_input_hist) override |
|
void | setNextInputs (const typename Eigen::Matrix< double, SystemType::NUM_INPUTS, num_steps_solver_delay > &next_inputs) override |
|
void | setSolverTimeLimit (double max_seconds) override |
|
SOLVER_RETURN | solve (const typename Eigen::Matrix< double, SystemType::NUM_INPUTS, N, Eigen::RowMajor > &last_open_loop_input, const typename Eigen::Matrix< double, SystemType::NUM_STATES, N+1, Eigen::RowMajor > &last_open_loop_state, typename Eigen::Matrix< double, SystemType::NUM_INPUTS, N, Eigen::RowMajor > &open_loop_input, typename Eigen::Matrix< double, SystemType::NUM_STATES, N+1, Eigen::RowMajor > &open_loop_state) const override |
|
unsigned int | getStepsToCompensateControllerDelay () override |
|
void | writeProblemToFile (const std::string &file_path) |
|
virtual void | addInputConstraintOnStep (int step, const SystemType::InputVec &lb, const SystemType::InputVec &ub)=0 |
|
virtual void | addStateConstraintOnStep (int step, const SystemType::StateVec &lb, const SystemType::StateVec &ub)=0 |
|
virtual void | setFinalWeights (const SystemType::StateVec &final_weights)=0 |
|
virtual void | setStateWeights (const SystemType::StateVec &state_weights)=0 |
|
virtual void | setInputWeights (const SystemType::InputVec &state_weights)=0 |
|
virtual void | setSetPoint (const SystemType::StateVec &set_point)=0 |
|
virtual void | setState (const SystemType::StateVec &state)=0 |
|
virtual void | setInputHistory (const Eigen::Matrix< double, SystemType::NUM_INPUTS, history_depth > &bin_input_hist)=0 |
|
virtual void | setNextInputs (const Eigen::Matrix< double, SystemType::NUM_INPUTS, num_steps_solver_delay > &next_inputs)=0 |
|
virtual SOLVER_RETURN | solve (const Eigen::Matrix< double, SystemType::NUM_INPUTS, N, Eigen::RowMajor > &last_open_loop_input, const Eigen::Matrix< double, SystemType::NUM_STATES, N+1, Eigen::RowMajor > &last_open_loop_state, Eigen::Matrix< double, SystemType::NUM_INPUTS, N, Eigen::RowMajor > &open_loop_input, Eigen::Matrix< double, SystemType::NUM_STATES, N+1, Eigen::RowMajor > &open_loop_state) const =0 |
|
template<class SystemType, int N, int min_steps_on, int min_steps_off, int max_steps_on, int num_steps_solver_delay, INTEGRATION_SCHEME integration_scheme>
class mimpc::SCIPSolver< SystemType, N, min_steps_on, min_steps_off, max_steps_on, num_steps_solver_delay, integration_scheme >
Provides a solver based on the open source SCIP Solver (https://scipopt.org/)
template<class SystemType , int N, int min_steps_on, int min_steps_off, int max_steps_on, int num_steps_solver_delay, INTEGRATION_SCHEME integration_scheme>
void mimpc::SCIPSolver< SystemType, N, min_steps_on, min_steps_off, max_steps_on, num_steps_solver_delay, integration_scheme >::addInputConstraintOnIndex |
( |
int |
index, |
|
|
double |
lb, |
|
|
double |
ub |
|
) |
| |
|
overridevirtual |
template<class SystemType , int N, int min_steps_on, int min_steps_off, int max_steps_on, int num_steps_solver_delay, INTEGRATION_SCHEME integration_scheme>
void mimpc::SCIPSolver< SystemType, N, min_steps_on, min_steps_off, max_steps_on, num_steps_solver_delay, integration_scheme >::addStateConstraintOnIndex |
( |
int |
index, |
|
|
double |
lb, |
|
|
double |
ub |
|
) |
| |
|
overridevirtual |
template<class SystemType , int N, int min_steps_on, int min_steps_off, int max_steps_on, int num_steps_solver_delay, INTEGRATION_SCHEME integration_scheme>
unsigned int mimpc::SCIPSolver< SystemType, N, min_steps_on, min_steps_off, max_steps_on, num_steps_solver_delay, integration_scheme >::getStepsToCompensateControllerDelay |
( |
| ) |
|
|
overridevirtual |
template<class SystemType , int N, int min_steps_on, int min_steps_off, int max_steps_on, int num_steps_solver_delay, INTEGRATION_SCHEME integration_scheme>
void mimpc::SCIPSolver< SystemType, N, min_steps_on, min_steps_off, max_steps_on, num_steps_solver_delay, integration_scheme >::setSolverTimeLimit |
( |
double |
max_seconds | ) |
|
|
overridevirtual |