SHOGUN v0.9.0
公有成员 | 保护属性
CCplex类参考

详细描述

在文件Cplex.h第43行定义。

继承图,类CCplex
Inheritance graph
[图例]

所有成员的列表。

公有成员

 CCplex ()
virtual ~CCplex ()
bool init (E_PROB_TYPE t, int32_t timeout=60)
 init cplex with problem type t and retry timeout 60 seconds
bool cleanup ()
bool setup_subgradientlpm_QP (float64_t C, CLabels *labels, CSparseFeatures< float64_t > *features, int32_t *idx_bound, int32_t num_bound, int32_t *w_zero, int32_t num_zero, float64_t *vee, int32_t num_dim, bool use_bias)
bool setup_lpboost (float64_t C, int32_t num_cols)
bool add_lpboost_constraint (float64_t factor, TSparseEntry< float64_t > *h, int32_t len, int32_t ulen, CLabels *label)
bool setup_lpm (float64_t C, CSparseFeatures< float64_t > *x, CLabels *y, bool use_bias)
bool setup_lp (float64_t *objective, float64_t *constraints_mat, int32_t rows, int32_t cols, float64_t *rhs, float64_t *lb, float64_t *ub)
bool setup_qp (float64_t *H, int32_t dim)
bool optimize (float64_t *sol, float64_t *lambda=NULL)
bool dense_to_cplex_sparse (float64_t *H, int32_t rows, int32_t cols, int *&qmatbeg, int *&qmatcnt, int *&qmatind, double *&qmatval)
bool set_time_limit (float64_t seconds)
bool write_problem (char *filename)
bool write_Q (char *filename)
virtual const char * get_name () const

保护属性

CPXENVptr env
CPXLPptr lp
bool lp_initialized
E_PROB_TYPE problem_type

构造及析构函数文档

CCplex ( )

在文件Cplex.cpp第23行定义。

~CCplex ( ) [virtual]

在文件Cplex.cpp第28行定义。


成员函数文档

bool add_lpboost_constraint ( float64_t  factor,
TSparseEntry< float64_t > *  h,
int32_t  len,
int32_t  ulen,
CLabels *  label 
)

在文件Cplex.cpp第292行定义。

bool cleanup ( )

在文件Cplex.cpp第469行定义。

bool dense_to_cplex_sparse ( float64_t *  H,
int32_t  rows,
int32_t  cols,
int *&  qmatbeg,
int *&  qmatcnt,
int *&  qmatind,
double *&  qmatval 
)

在文件Cplex.cpp第503行定义。

virtual const char* get_name ( void  ) const [virtual]
返回:
object name

实现了CSGObject。

在文件Cplex.h第146行定义。

bool init ( E_PROB_TYPE  t,
int32_t  timeout = 60 
)

init cplex with problem type t and retry timeout 60 seconds

在文件Cplex.cpp第33行定义。

bool optimize ( float64_t *  sol,
float64_t *  lambda = NULL 
)

在文件Cplex.cpp第601行定义。

bool set_time_limit ( float64_t  seconds)

在文件Cplex.h第127行定义。

bool setup_lp ( float64_t *  objective,
float64_t *  constraints_mat,
int32_t  rows,
int32_t  cols,
float64_t *  rhs,
float64_t *  lb,
float64_t *  ub 
)

在文件Cplex.cpp第531行定义。

bool setup_lpboost ( float64_t  C,
int32_t  num_cols 
)

在文件Cplex.cpp第261行定义。

bool setup_lpm ( float64_t  C,
CSparseFeatures< float64_t > *  x,
CLabels *  y,
bool  use_bias 
)

在文件Cplex.cpp第322行定义。

bool setup_qp ( float64_t *  H,
int32_t  dim 
)

在文件Cplex.cpp第581行定义。

bool setup_subgradientlpm_QP ( float64_t  C,
CLabels *  labels,
CSparseFeatures< float64_t > *  features,
int32_t *  idx_bound,
int32_t  num_bound,
int32_t *  w_zero,
int32_t  num_zero,
float64_t *  vee,
int32_t  num_dim,
bool  use_bias 
)

在文件Cplex.cpp第87行定义。

bool write_problem ( char *  filename)

在文件Cplex.h第131行定义。

bool write_Q ( char *  filename)

在文件Cplex.h第136行定义。


成员数据文档

CPXENVptr env [protected]

在文件Cplex.h第149行定义。

CPXLPptr lp [protected]

在文件Cplex.h第150行定义。

bool lp_initialized [protected]

在文件Cplex.h第151行定义。

在文件Cplex.h第153行定义。


该类的文档由以下文件生成:

SHOGUN Machine Learning Toolbox - Documentation