MCPcopy Create free account
hub / github.com/LiJiangnanBit/path_optimizer_ilqr / decrease_mu

Method decrease_mu

src/solver/solver.h:116–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114
115template <std::size_t N_STATE, std::size_t N_CONTROL>
116void ILQRSolver<N_STATE, N_CONTROL>::decrease_mu() {
117 _delta = std::min(1.0 / _ilqr_config.delta_0, _delta / _ilqr_config.delta_0);
118 _mu *= _delta;
119 if (_mu < _ilqr_config.min_mu) {
120 _mu = 0.0;
121 }
122 LOG(INFO) << "Iter " << _iter << ", decrease mu to " << _mu;
123}
124
125template <std::size_t N_STATE, std::size_t N_CONTROL>
126void ILQRSolver<N_STATE, N_CONTROL>::calculate_derivatives() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected