qpOASES
3.1.1
|
Manages all user-specified options for solving QPs. More...
#include <Options.hpp>
This class manages all user-specified options used for solving quadratic programs.
Default constructor.
References setToDefault().
Options::Options | ( | const Options & | rhs | ) |
Destructor.
returnValue Options::copy | ( | const Options & | rhs | ) | [protected] |
Copies all members from given rhs object.
rhs | Rhs object. |
References boundRelaxation, boundTolerance, dropBoundPriority, dropEqConPriority, dropIneqConPriority, enableCholeskyRefactorisation, enableDriftCorrection, enableDropInfeasibles, enableEqualities, enableFarBounds, enableFlippingBounds, enableFullLITests, enableNZCTests, enableRamping, enableRegularisation, epsDen, epsFlipping, epsIterRef, epsLITests, epsNum, epsNZCTests, epsRegularisation, finalRamping, growFarBounds, initialFarBounds, initialRamping, initialStatusBounds, maxDualJump, maxPrimalJump, numRefinementSteps, numRegularisationSteps, printLevel, SUCCESSFUL_RETURN, and terminationTolerance.
Referenced by operator=(), and Options().
Ensures that all options have consistent values by automatically adjusting inconsistent ones. Note: This routine cannot (and does not try to) ensure that values are set to reasonable values that make the QP solution work!
References boundRelaxation, boundTolerance, BT_FALSE, BT_TRUE, enableCholeskyRefactorisation, enableDriftCorrection, EPS, epsFlipping, epsIterRef, epsLITests, epsNZCTests, epsRegularisation, finalRamping, growFarBounds, initialFarBounds, initialRamping, maxDualJump, maxPrimalJump, numRefinementSteps, numRegularisationSteps, RET_OPTIONS_ADJUSTED, SUCCESSFUL_RETURN, terminationTolerance, and THROWWARNING.
Referenced by QProblemB::setOptions().
returnValue Options::print | ( | ) | const |
Prints values of all options.
References boundRelaxation, boundTolerance, convertBooleanTypeToString(), convertPrintLevelToString(), convertSubjectToStatusToString(), enableCholeskyRefactorisation, enableDriftCorrection, enableEqualities, enableFarBounds, enableFlippingBounds, enableFullLITests, enableNZCTests, enableRamping, enableRegularisation, epsDen, epsFlipping, epsIterRef, epsLITests, epsNum, epsNZCTests, epsRegularisation, finalRamping, growFarBounds, initialFarBounds, initialRamping, initialStatusBounds, MAX_STRING_LENGTH, maxDualJump, maxPrimalJump, myPrintf(), numRefinementSteps, numRegularisationSteps, printLevel, SUCCESSFUL_RETURN, and terminationTolerance.
Referenced by QProblemB::printOptions().
Sets all options to default values.
References boundRelaxation, boundTolerance, BT_FALSE, BT_TRUE, dropBoundPriority, dropEqConPriority, dropIneqConPriority, enableCholeskyRefactorisation, enableDriftCorrection, enableDropInfeasibles, enableEqualities, enableFarBounds, enableFlippingBounds, enableFullLITests, enableNZCTests, enableRamping, enableRegularisation, EPS, epsDen, epsFlipping, epsIterRef, epsLITests, epsNum, epsNZCTests, epsRegularisation, finalRamping, growFarBounds, initialFarBounds, initialRamping, initialStatusBounds, maxDualJump, maxPrimalJump, numRefinementSteps, numRegularisationSteps, PL_HIGH, PL_MEDIUM, PL_NONE, printLevel, ST_LOWER, SUCCESSFUL_RETURN, and terminationTolerance.
Referenced by Options(), setToMPC(), and setToReliable().
Same as setToMPC( ), for ensuring backwards compatibility.
References setToMPC().
Sets all options to values resulting in minimum solution time.
References BT_FALSE, BT_TRUE, enableDriftCorrection, enableEqualities, enableFarBounds, enableFlippingBounds, enableNZCTests, enableRamping, enableRegularisation, EPS, initialStatusBounds, numRefinementSteps, numRegularisationSteps, setToDefault(), ST_INACTIVE, SUCCESSFUL_RETURN, and terminationTolerance.
Referenced by main(), and setToFast().
Sets all options to values resulting in maximum reliabilty.
References BT_TRUE, enableCholeskyRefactorisation, enableFullLITests, numRefinementSteps, setToDefault(), and SUCCESSFUL_RETURN.
Offset for relaxing (constraints') bounds at beginning of an initial homotopy. It is also as initial value for far bounds.
Referenced by copy(), ensureConsistency(), print(), setToDefault(), QProblem::setupAuxiliaryQPbounds(), and QProblemB::setupAuxiliaryQPbounds().
Lower/upper (constraints') bound tolerance (an inequality constraint whose lower and upper bounds differ by less is regarded to be an equality constraint).
Referenced by copy(), ensureConsistency(), QProblemB::hotstart(), QProblem::hotstart(), QProblemB::obtainAuxiliaryWorkingSet(), QProblem::obtainAuxiliaryWorkingSet(), print(), setToDefault(), QProblemB::setupSubjectToType(), and QProblem::setupSubjectToType().
...
Referenced by copy(), QProblem::dropInfeasibles(), and setToDefault().
...
Referenced by copy(), QProblem::dropInfeasibles(), and setToDefault().
...
Referenced by copy(), QProblem::dropInfeasibles(), and setToDefault().
Specifies the frequency of full refactorisation of proj. Hessian (otherwise updates).
Referenced by copy(), ensureConsistency(), main(), print(), setToDefault(), setToReliable(), QProblem::solveQP(), and QProblemB::solveQP().
Specifies the frequency of drift corrections (0 = off).
Referenced by copy(), ensureConsistency(), print(), setToDefault(), setToMPC(), QProblem::solveQP(), and QProblemB::solveQP().
...
Referenced by QProblem::addBound_ensureLI(), QProblem::addConstraint_ensureLI(), copy(), and setToDefault().
Specifies whether equalities shall be always treated as active constraints.
Referenced by copy(), print(), setToDefault(), setToMPC(), QProblemB::setupSubjectToType(), and QProblem::setupSubjectToType().
Specifies whether far bounds shall be used or not.
Referenced by copy(), QProblemB::hotstart(), QProblem::hotstart(), print(), QProblemB::setInfeasibilityFlag(), setToDefault(), setToMPC(), QProblemB::setupSubjectToType(), and QProblem::setupSubjectToType().
Specifies whether flipping bounds shall be used or not.
Referenced by copy(), QProblemB::determineHessianType(), print(), QProblem::removeBound(), QProblemB::removeBound(), QProblem::removeConstraint(), setToDefault(), and setToMPC().
Specifies whether condition-hardened LI test shall be used or not.
Referenced by QProblem::addBound_checkLI(), QProblem::addConstraint_checkLI(), copy(), print(), setToDefault(), setToReliable(), and QProblem::setupAuxiliaryWorkingSet().
Specifies whether nonzero curvature tests shall be used.
Referenced by QProblem::changeActiveSet(), copy(), print(), setToDefault(), setToMPC(), and QProblem::setupAuxiliaryWorkingSet().
Specifies whether ramping shall be enabled or not.
Referenced by copy(), print(), setToDefault(), setToMPC(), QProblem::solveInitialQP(), QProblem::solveQP(), QProblemB::solveQP(), QProblemB::updateFarBounds(), and QProblem::updateFarBounds().
Specifies whether Hessian matrix shall be regularised in case semi-definiteness is detected.
Referenced by copy(), QProblemB::determineHessianType(), print(), QProblemB::regulariseHessian(), setToDefault(), setToMPC(), QProblemB::setupInitialCholesky(), and QProblem::setupInitialCholesky().
Denominator tolerance for ratio tests.
Referenced by QProblem::addBound_ensureLI(), QProblem::addConstraint_ensureLI(), copy(), QProblem::dropInfeasibles(), QProblem::ensureNonzeroCurvature(), QProblem::performStep(), QProblemB::performStep(), print(), and setToDefault().
Tolerance of squared Cholesky diagonal factor which triggers flipping bound.
Referenced by copy(), ensureConsistency(), print(), QProblem::removeBound(), QProblemB::removeBound(), QProblem::removeConstraint(), and setToDefault().
Early termination tolerance for iterative refinement.
Referenced by copy(), QProblem::determineStepDirection(), QProblemB::determineStepDirection(), ensureConsistency(), print(), and setToDefault().
Tolerance for linear independence tests.
Referenced by QProblem::addBound_checkLI(), QProblem::addConstraint_checkLI(), copy(), ensureConsistency(), print(), setToDefault(), and QProblem::setupAuxiliaryWorkingSet().
Numerator tolerance for ratio tests.
Referenced by QProblem::addBound_ensureLI(), QProblem::addConstraint_ensureLI(), copy(), QProblem::ensureNonzeroCurvature(), QProblem::performStep(), QProblemB::performStep(), print(), and setToDefault().
Tolerance for nonzero curvature tests.
Referenced by copy(), ensureConsistency(), QProblem::ensureNonzeroCurvature(), print(), and setToDefault().
Scaling factor of identity matrix used for Hessian regularisation.
Referenced by QProblemB::computeCholesky(), QProblem::computeProjectedCholesky(), copy(), ensureConsistency(), print(), QProblemB::regulariseHessian(), and setToDefault().
Final value for Ramping Strategy.
Referenced by copy(), ensureConsistency(), print(), QProblemB::QProblemB(), QProblemB::reset(), and setToDefault().
Factor to grow Far Bounds.
Referenced by copy(), ensureConsistency(), QProblemB::hotstart(), QProblem::hotstart(), print(), and setToDefault().
Initial size of Far Bounds.
Referenced by copy(), ensureConsistency(), QProblemB::hotstart(), QProblem::hotstart(), print(), and setToDefault().
Start value for Ramping Strategy.
Referenced by copy(), ensureConsistency(), print(), QProblemB::QProblemB(), QProblemB::reset(), and setToDefault().
Initial status of bounds at first iteration.
Referenced by copy(), main(), QProblemB::obtainAuxiliaryWorkingSet(), print(), setToDefault(), setToMPC(), SQProblem::setupNewAuxiliaryQP(), QProblem::solveInitialQP(), and QProblemB::solveInitialQP().
Maximum allowed jump in dual variables in linear independence tests.
Referenced by QProblem::addBound_ensureLI(), QProblem::addConstraint_ensureLI(), copy(), ensureConsistency(), print(), and setToDefault().
Maximum allowed jump in primal variables in nonzero curvature tests.
Referenced by copy(), ensureConsistency(), QProblem::ensureNonzeroCurvature(), print(), and setToDefault().
Maximum number of iterative refinement steps.
Referenced by copy(), QProblem::determineStepDirection(), QProblemB::determineStepDirection(), ensureConsistency(), main(), print(), setToDefault(), setToMPC(), and setToReliable().
Maximum number of successive regularisation steps.
Referenced by copy(), QProblemB::determineHessianType(), ensureConsistency(), print(), setToDefault(), setToMPC(), QProblem::solveRegularisedQP(), and QProblemB::solveRegularisedQP().
Print level.
Referenced by copy(), QProblemB::copy(), QProblemB::getPrintLevel(), main(), print(), QProblem::printIteration(), QProblemB::printIteration(), QProblem::printProperties(), QProblemB::printProperties(), QProblemB::QProblemB(), QProblemB::setOptions(), QProblemB::setPrintLevel(), setToDefault(), QProblem::solveQP(), and QProblemB::solveQP().
Termination tolerance.
Referenced by copy(), ensureConsistency(), print(), setToDefault(), setToMPC(), QProblem::solveQP(), and QProblemB::solveQP().