36 #include <qpOASES/Options.hpp> 258 #ifndef __XPCTARGET__ 260 char myPrintfString[160];
263 myPrintf(
"\n################### qpOASES -- QP OPTIONS ##################\n" );
267 snprintf( myPrintfString,80,
"printLevel = %s\n",info );
273 snprintf( myPrintfString,80,
"enableRamping = %s\n",info );
277 snprintf( myPrintfString,80,
"enableFarBounds = %s\n",info );
281 snprintf( myPrintfString,80,
"enableFlippingBounds = %s\n",info );
285 snprintf( myPrintfString,80,
"enableRegularisation = %s\n",info );
289 snprintf( myPrintfString,80,
"enableFullLITests = %s\n",info );
293 snprintf( myPrintfString,80,
"enableNZCTests = %s\n",info );
303 snprintf( myPrintfString,80,
"enableEqualities = %s\n",info );
311 snprintf( myPrintfString,80,
"boundTolerance = %e\n",
boundTolerance );
314 snprintf( myPrintfString,80,
"boundRelaxation = %e\n",
boundRelaxation );
317 snprintf( myPrintfString,80,
"epsNum = %e\n",
epsNum );
320 snprintf( myPrintfString,80,
"epsDen = %e\n",
epsDen );
323 snprintf( myPrintfString,80,
"maxPrimalJump = %e\n",
maxPrimalJump );
326 snprintf( myPrintfString,80,
"maxDualJump = %e\n",
maxDualJump );
331 snprintf( myPrintfString,80,
"initialRamping = %e\n",
initialRamping );
334 snprintf( myPrintfString,80,
"finalRamping = %e\n",
finalRamping );
340 snprintf( myPrintfString,80,
"growFarBounds = %e\n",
growFarBounds );
344 snprintf( myPrintfString,80,
"initialStatusBounds = %s\n",info );
347 snprintf( myPrintfString,80,
"epsFlipping = %e\n",
epsFlipping );
359 snprintf( myPrintfString,80,
"epsIterRef = %e\n",
epsIterRef );
362 snprintf( myPrintfString,80,
"epsLITests = %e\n",
epsLITests );
365 snprintf( myPrintfString,80,
"epsNZCTests = %e\n",
epsNZCTests );
returnValue convertPrintLevelToString(PrintLevel value, char *const string)
returnValue setToDefault()
BooleanType enableFarBounds
returnValue copy(const Options &rhs)
BEGIN_NAMESPACE_ACADO const double EPS
Allows to pass back messages to the calling function.
returnValue print() const
BooleanType enableFullLITests
BooleanType enableEqualities
BooleanType enableRamping
returnValue myPrintf(const char *s)
returnValue convertSubjectToStatusToString(SubjectToStatus value, char *const string)
BooleanType enableFlippingBounds
Provides a generic way to set and pass user-specified options.
Options & operator=(const Options &rhs)
int enableDriftCorrection
BooleanType enableRegularisation
void rhs(const real_t *x, real_t *f)
#define END_NAMESPACE_QPOASES
real_t terminationTolerance
int numRegularisationSteps
returnValue convertBooleanTypeToString(BooleanType value, char *const string)
int enableCholeskyRefactorisation
BooleanType enableNZCTests
#define BEGIN_NAMESPACE_QPOASES
returnValue setToReliable()
SubjectToStatus initialStatusBounds
returnValue ensureConsistency()