Interface to the standalone program BPMPD.
More...
#include <optimization.h>
|
| COptimizationSolverBPMPD (const std::string &_execName, const std::string &_tempDir) |
| Construct the instance of the solver. More...
|
|
virtual int | callSolver (const CMatrix< NumT > *linearMatrix, const std::vector< NumT > &rhs, const std::vector< NumT > &maxSolValue, const std::vector< NumT > &objFuncLinear, const CMatrix< NumT > *objFuncQuadratic, std::vector< NumT > *sol) const |
|
virtual std::string | errorDescription (int result) const |
| reports text information for a given error code
|
|
|
std::string | execName |
|
std::string | tempDir |
|
template<typename NumT>
class smile::COptimizationSolverBPMPD< NumT >
Interface to the standalone program BPMPD.
Construct the instance of the solver.
- Parameters
-
[in] | _execName | is the name of program (if it doesn't exist, an error is raised in callSolver); |
[in] | _tempDir | is the directory where the data file will be written and the result file will be read. |
template<typename NumT >
int smile::COptimizationSolverBPMPD< NumT >::callSolver |
( |
const CMatrix< NumT > * |
linearMatrix, |
|
|
const std::vector< NumT > & |
rhs, |
|
|
const std::vector< NumT > & |
maxSolValue, |
|
|
const std::vector< NumT > & |
objFuncLinear, |
|
|
const CMatrix< NumT > * |
objFuncQuadratic, |
|
|
std::vector< NumT > * |
sol |
|
) |
| const |
|
virtual |
The documentation for this class was generated from the following files: