|
MPSolve 3.2.2
|
Public Member Functions | |
| MPSolveWorker (mps_context *s=NULL, QObject *parent=0) | |
| void | setMpsContext (mps_context *ctx) |
| setMpsContext can be used to set the current mps_context for the computation. | |
| void | run () |
| run Actually start the computation calling mps_mpsolve(); | |
| unsigned long int | CPUTime () |
| CPUTime gets the number of ms of CPU time used by the last call to run(). | |
| void | abortComputation () |
| Abort the current computation. | |
Public Attributes | |
| clock_t * | m_timer |
| The timer used to check how long MPSolve needs to solve a polynomial. | |
| unsigned long int | m_time |
| The time measured with the timer. | |
| unsigned long int MPSolveWorker::CPUTime | ( | ) |
CPUTime gets the number of ms of CPU time used by the last call to run().
| void MPSolveWorker::setMpsContext | ( | mps_context * | ctx | ) |
setMpsContext can be used to set the current mps_context for the computation.
| ctx | is the pointer to the current mps_context. |