SMILE  v2.5
Schwarzschild Modelling Interactive expLoratory Environment
Public Member Functions | Private Attributes | List of all members
smile::COptimizationSolverCVXOPT< NumT > Class Template Reference

Interface to the LP/QP solver CVXOPT written in Python. More...

#include <optimization.h>

Inheritance diagram for smile::COptimizationSolverCVXOPT< NumT >:
Inheritance graph
[legend]
Collaboration diagram for smile::COptimizationSolverCVXOPT< NumT >:
Collaboration graph
[legend]

Public Member Functions

 COptimizationSolverCVXOPT (const std::string &_modulePath="")
 
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
 

Private Attributes

const std::string modulePath
 

Detailed Description

template<typename NumT>
class smile::COptimizationSolverCVXOPT< NumT >

Interface to the LP/QP solver CVXOPT written in Python.

Member Function Documentation

template<typename NumT >
int smile::COptimizationSolverCVXOPT< 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
Returns
0 for success, otherwise an error code

Implements smile::CBasicQuadraticOptimizationSolver< NumT >.


The documentation for this class was generated from the following files: