51 int maxAllowedNWSR = 600;
52 real_t maxNWSR, avgNWSR, maxCPUtime, avgCPUtime;
53 real_t maxStationarity, maxFeasibility, maxComplementarity;
61 isSparse,useHotstarts,
62 &options,maxAllowedNWSR,
63 &maxNWSR,&avgNWSR,&maxCPUtime,&avgCPUtime,
64 &maxStationarity,&maxFeasibility,&maxComplementarity
67 qpOASES_myPrintf(
"In order to run this example, you need to download example no. 02\nfrom the Online QP Benchmark Collection website first!\n" );
68 fprintf( stderr,
"error\n" );
73 fprintf( stderr,
"\n\n" );
74 fprintf( stderr,
"OQP Benchmark Results:\n" );
75 fprintf( stderr,
"======================\n\n" );
76 fprintf( stderr,
"maximum stationary error: %.3e\n",maxStationarity );
77 fprintf( stderr,
"maximum feasibility error: %.3e\n",maxFeasibility );
78 fprintf( stderr,
"maximum complementary error: %.3e\n",maxComplementarity );
79 fprintf( stderr,
"\n" );
80 fprintf( stderr,
"maximum CPU time: %.3f milliseconds\n\n",1000.0*maxCPUtime );
#define USING_NAMESPACE_QPOASES
Provides a generic way to set and pass user-specified options.
returnValue qpOASES_myPrintf(const char *s)
returnValue Options_setToMPC(Options *_THIS)