|
template<typename ConstraintComponentBaseTypePtr > |
void | clear (std::vector< ConstraintComponentBaseTypePtr > &constraints) |
| Clears the vector of the constraints. More...
|
|
template<typename ConstraintComponentBaseTypePtr > |
void | createConstraintsData (const std::vector< ConstraintComponentBaseTypePtr > &constraints, std::vector< ConstraintComponentData > &data) |
| Creates constraints data. More...
|
|
template<typename ConstraintComponentBaseTypePtr , typename ContactStatusType > |
bool | isFeasible (const std::vector< ConstraintComponentBaseTypePtr > &constraints, Robot &robot, const ContactStatusType &contact_status, std::vector< ConstraintComponentData > &data, const SplitSolution &s) |
| Checks whether the current solution s is feasible or not. More...
|
|
template<typename ConstraintComponentBaseTypePtr , typename ContactStatusType > |
void | setSlackAndDual (const std::vector< ConstraintComponentBaseTypePtr > &constraints, Robot &robot, const ContactStatusType &contact_status, std::vector< ConstraintComponentData > &data, const SplitSolution &s) |
| Sets the slack and dual variables of each constraint components. More...
|
|
template<typename ConstraintComponentBaseTypePtr , typename ContactStatusType > |
void | evalConstraint (const std::vector< ConstraintComponentBaseTypePtr > &constraints, Robot &robot, const ContactStatusType &contact_status, std::vector< ConstraintComponentData > &data, const SplitSolution &s) |
| Computes the primal residual, residual in the complementary slackness, and the log-barrier_param function of the slack varible. More...
|
|
template<typename ConstraintComponentBaseTypePtr , typename ContactStatusType > |
void | linearizeConstraints (const std::vector< ConstraintComponentBaseTypePtr > &constraints, Robot &robot, const ContactStatusType &contact_status, std::vector< ConstraintComponentData > &data, const SplitSolution &s, SplitKKTResidual &kkt_residual) |
| Evaluates the constraints (i.e., calls evalConstraint()) and adds the products of the Jacobian of the constraints and Lagrange multipliers. More...
|
|
template<typename ConstraintComponentBaseTypePtr , typename ContactStatusType > |
void | condenseSlackAndDual (const std::vector< ConstraintComponentBaseTypePtr > &constraints, const ContactStatusType &contact_status, std::vector< ConstraintComponentData > &data, SplitKKTMatrix &kkt_matrix, SplitKKTResidual &kkt_residual) |
| Condenses the slack and dual variables. linearizeConstraints() must be called before this function. More...
|
|
template<typename ConstraintComponentBaseTypePtr , typename ContactStatusType , typename SplitDirectionType > |
void | expandSlackAndDual (const std::vector< ConstraintComponentBaseTypePtr > &constraints, const ContactStatusType &contact_status, std::vector< ConstraintComponentData > &data, const SplitDirectionType &d) |
| Expands the slack and dual, i.e., computes the directions of the slack and dual variables from the directions of the primal variables. More...
|
|
template<typename ConstraintComponentBaseTypePtr > |
double | maxSlackStepSize (const std::vector< ConstraintComponentBaseTypePtr > &constraints, const std::vector< ConstraintComponentData > &data) |
| Computes and returns the maximum step size by applying fraction-to-boundary-rule to the direction of the slack variable. More...
|
|
template<typename ConstraintComponentBaseTypePtr > |
double | maxDualStepSize (const std::vector< ConstraintComponentBaseTypePtr > &constraints, const std::vector< ConstraintComponentData > &data) |
| Computes and returns the maximum step size by applying fraction-to-boundary-rule to the direction of the dual variable. More...
|
|
void | updateSlack (std::vector< ConstraintComponentData > &data, const double step_size) |
| Updates the slack variables according to the step size. More...
|
|
void | updateDual (std::vector< ConstraintComponentData > &data, const double step_size) |
| Updates the dual variables according to the step size. More...
|
|
template<typename ConstraintComponentBaseTypePtr > |
void | setBarrierParam (std::vector< ConstraintComponentBaseTypePtr > &constraints, const double barrier_param) |
| Sets the barrier parameter. More...
|
|
template<typename ConstraintComponentBaseTypePtr > |
void | setFractionToBoundaryRule (std::vector< ConstraintComponentBaseTypePtr > &constraints, const double fraction_to_boundary_rule) |
| Sets the parameter of the fraction-to-boundary-rule. More...
|
|