Skip to content

Commit bbc0312

Browse files
Merge branch 'feature/al_definition' of bitbucket.org:leggedrobotics/ocs2_dev into feature/al_definition
2 parents 51579e7 + 883200a commit bbc0312

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ocs2_core/include/ocs2_core/penalties/augmented/ModifiedRelaxedBarrierPenalty.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ namespace augmented {
4343
* \f]
4444
*
4545
* where \f$ \pho \f$ is the scale. \f$ \psi(.) \f$ is defined as a shifted quadratically-relaxed log barrier function.
46+
* Unlike the relaxed log barrier penalty, this function is defined over the domain \f$ x > -1 \f$. Therefore, the value of the
47+
* relaxation parameter has to also belong to this domain.
4648
*
4749
* This is then minimized by the solver, while the maximization of the approximate dual function is done by updating the Lagrange
4850
* multipliers with the following update rule:

0 commit comments

Comments
 (0)