dbl_qsopt.h File Reference

#include <stdio.h>
#include "qs_config.h"
#include "basicdefs.h"

Include dependency graph for dbl_qsopt.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define dbl_QSLIB_INTERFACE   extern

Typedefs

typedef qsbasisdbl_QSbas
typedef dbl_qserror_collectordbl_QSerror_collector
typedef dbl_qserror_memorydbl_QSerror_memory
typedef dbl_qsformat_errordbl_QSformat_error
typedef dbl_qsline_readerdbl_QSline_reader
typedef dbl_qsdatadbl_QSprob

Functions

dbl_QSLIB_INTERFACE int dbl_QSadd_col (dbl_QSprob p, int cnt, int *cmatind, double *cmatval, double obj, double lower, double upper, const char *name)
dbl_QSLIB_INTERFACE int dbl_QSadd_cols (dbl_QSprob p, int num, int *cmatcnt, int *cmatbeg, int *cmatind, double *cmatval, double *obj, double *lower, double *upper, const char **names)
dbl_QSLIB_INTERFACE int dbl_QSadd_ranged_row (dbl_QSprob p, int cnt, int *rmatind, const double *rmatval, const double *rhs, int sense, const double *range, const char *name)
dbl_QSLIB_INTERFACE int dbl_QSadd_ranged_rows (dbl_QSprob p, int num, int *rmatcnt, int *rmatbeg, int *rmatind, const double *rmatval, const double *rhs, char *sense, const double *range, const char **names)
dbl_QSLIB_INTERFACE int dbl_QSadd_row (dbl_QSprob p, int cnt, int *rmatind, const double *rmatval, const double *rhs, int sense, const char *name)
dbl_QSLIB_INTERFACE int dbl_QSadd_rows (dbl_QSprob p, int num, int *rmatcnt, int *rmatbeg, int *rmatind, const double *rmatval, const double *rhs, char *sense, const char **names)
dbl_QSLIB_INTERFACE int dbl_QSchange_bound (dbl_QSprob p, int indx, int lu, const double bound)
dbl_QSLIB_INTERFACE int dbl_QSchange_bounds (dbl_QSprob p, int num, int *collist, char *lu, const double *bounds)
dbl_QSLIB_INTERFACE int dbl_QSchange_coef (dbl_QSprob p, int rowindex, int colindex, double coef)
dbl_QSLIB_INTERFACE int dbl_QSchange_objcoef (dbl_QSprob p, int indx, double coef)
dbl_QSLIB_INTERFACE int dbl_QSchange_objsense (dbl_QSprob p, int newsense)
dbl_QSLIB_INTERFACE int dbl_QSchange_range (dbl_QSprob p, int rowindex, double range)
dbl_QSLIB_INTERFACE int dbl_QSchange_rhscoef (dbl_QSprob p, int indx, double coef)
dbl_QSLIB_INTERFACE int dbl_QSchange_sense (dbl_QSprob p, int rowindex, int sense)
dbl_QSLIB_INTERFACE int dbl_QSchange_senses (dbl_QSprob p, int num, int *rowlist, char *sense)
dbl_QSLIB_INTERFACE int dbl_QScompute_row_norms (dbl_QSprob p)
dbl_QSLIB_INTERFACE dbl_QSprob dbl_QScopy_prob (dbl_QSprob p, const char *newname)
dbl_QSLIB_INTERFACE dbl_QSprob dbl_QScreate_prob (const char *name, int objsense)
dbl_QSLIB_INTERFACE int dbl_QSdelete_col (dbl_QSprob p, int colindex)
dbl_QSLIB_INTERFACE int dbl_QSdelete_cols (dbl_QSprob p, int num, int *dellist)
dbl_QSLIB_INTERFACE int dbl_QSdelete_named_column (dbl_QSprob p, const char *colname)
dbl_QSLIB_INTERFACE int dbl_QSdelete_named_columns_list (dbl_QSprob p, int num, const char **colnames)
dbl_QSLIB_INTERFACE int dbl_QSdelete_named_row (dbl_QSprob p, const char *rowname)
dbl_QSLIB_INTERFACE int dbl_QSdelete_named_rows_list (dbl_QSprob p, int num, const char **rownames)
dbl_QSLIB_INTERFACE int dbl_QSdelete_row (dbl_QSprob p, int rowindex)
dbl_QSLIB_INTERFACE int dbl_QSdelete_rows (dbl_QSprob p, int num, int *dellist)
dbl_QSLIB_INTERFACE int dbl_QSdelete_setcols (dbl_QSprob p, int *flags)
dbl_QSLIB_INTERFACE int dbl_QSdelete_setrows (dbl_QSprob p, int *flags)
dbl_QSLIB_INTERFACE void dbl_QSend (void)
dbl_QSLIB_INTERFACE void dbl_QSerror_collector_free (dbl_QSerror_collector c)
dbl_QSLIB_INTERFACE dbl_QSerror_collector dbl_QSerror_collector_new (void *fct, void *dest)
dbl_QSLIB_INTERFACE const
char * 
dbl_QSerror_get_desc (dbl_QSformat_error error)
dbl_QSLIB_INTERFACE const
char * 
dbl_QSerror_get_line (dbl_QSformat_error error)
dbl_QSLIB_INTERFACE int dbl_QSerror_get_line_number (dbl_QSformat_error error)
dbl_QSLIB_INTERFACE int dbl_QSerror_get_pos (dbl_QSformat_error error)
dbl_QSLIB_INTERFACE int dbl_QSerror_get_type (dbl_QSformat_error error)
dbl_QSLIB_INTERFACE dbl_QSerror_collector dbl_QSerror_memory_collector_new (dbl_QSerror_memory mem)
dbl_QSLIB_INTERFACE dbl_QSerror_memory dbl_QSerror_memory_create (int takeErrorLines)
dbl_QSLIB_INTERFACE void dbl_QSerror_memory_free (dbl_QSerror_memory mem)
dbl_QSLIB_INTERFACE dbl_QSformat_error dbl_QSerror_memory_get_last_error (dbl_QSerror_memory mem)
dbl_QSLIB_INTERFACE int dbl_QSerror_memory_get_nerrors (dbl_QSerror_memory mem)
dbl_QSLIB_INTERFACE int dbl_QSerror_memory_get_nof (dbl_QSerror_memory mem, int error_type)
dbl_QSLIB_INTERFACE dbl_QSformat_error dbl_QSerror_memory_get_prev_error (dbl_QSformat_error e)
dbl_QSLIB_INTERFACE void dbl_QSerror_print (FILE *f, dbl_QSformat_error error)
dbl_QSLIB_INTERFACE const
char * 
dbl_QSformat_error_type_string (int tp)
dbl_QSLIB_INTERFACE void dbl_QSfree (void *ptr)
dbl_QSLIB_INTERFACE void dbl_QSfree_basis (dbl_QSbas B)
dbl_QSLIB_INTERFACE void dbl_QSfree_prob (dbl_QSprob p)
dbl_QSLIB_INTERFACE dbl_QSbas dbl_QSget_basis (dbl_QSprob p)
dbl_QSLIB_INTERFACE int dbl_QSget_basis_and_row_norms_array (dbl_QSprob p, char *cstat, char *rstat, double *rownorms)
dbl_QSLIB_INTERFACE int dbl_QSget_basis_array (dbl_QSprob p, char *cstat, char *rstat)
dbl_QSLIB_INTERFACE int dbl_QSget_basis_order (dbl_QSprob p, int *basorder)
dbl_QSLIB_INTERFACE int dbl_QSget_binv_row (dbl_QSprob p, int indx, double *binvrow)
dbl_QSLIB_INTERFACE int dbl_QSget_bound (dbl_QSprob p, int colindex, int lu, double *bound)
dbl_QSLIB_INTERFACE int dbl_QSget_bounds (dbl_QSprob p, double *lower, double *upper)
dbl_QSLIB_INTERFACE int dbl_QSget_bounds_list (dbl_QSprob p, int num, int *collist, double *lb, double *ub)
dbl_QSLIB_INTERFACE int dbl_QSget_coef (dbl_QSprob p, int rowindex, int colindex, double *coef)
dbl_QSLIB_INTERFACE int dbl_QSget_colcount (dbl_QSprob p)
dbl_QSLIB_INTERFACE int dbl_QSget_colnames (dbl_QSprob p, char **colnames)
dbl_QSLIB_INTERFACE int dbl_QSget_column_index (dbl_QSprob p, const char *name, int *colindex)
dbl_QSLIB_INTERFACE int dbl_QSget_columns (dbl_QSprob p, int **colcnt, int **colbeg, int **colind, double **colval, double **obj, double **lower, double **upper, char ***names)
dbl_QSLIB_INTERFACE int dbl_QSget_columns_list (dbl_QSprob p, int num, int *collist, int **colcnt, int **colbeg, int **colind, double **colval, double **obj, double **lower, double **upper, char ***names)
dbl_QSLIB_INTERFACE int dbl_QSget_infeas_array (dbl_QSprob p, double *pi)
dbl_QSLIB_INTERFACE int dbl_QSget_intcount (dbl_QSprob p, int *count)
dbl_QSLIB_INTERFACE int dbl_QSget_intflags (dbl_QSprob p, int *intflags)
dbl_QSLIB_INTERFACE int dbl_QSget_itcnt (dbl_QSprob p, int *pI_iter, int *pII_iter, int *dI_iter, int *dII_iter, int *tot_iter)
dbl_QSLIB_INTERFACE int dbl_QSget_named_pi (dbl_QSprob p, const char *rowname, double *val)
dbl_QSLIB_INTERFACE int dbl_QSget_named_rc (dbl_QSprob p, const char *colname, double *val)
dbl_QSLIB_INTERFACE int dbl_QSget_named_slack (dbl_QSprob p, const char *rowname, double *val)
dbl_QSLIB_INTERFACE int dbl_QSget_named_x (dbl_QSprob p, const char *colname, double *val)
dbl_QSLIB_INTERFACE int dbl_QSget_nzcount (dbl_QSprob p)
dbl_QSLIB_INTERFACE int dbl_QSget_obj (dbl_QSprob p, double *obj)
dbl_QSLIB_INTERFACE int dbl_QSget_obj_list (dbl_QSprob p, int num, int *collist, double *obj)
dbl_QSLIB_INTERFACE char * dbl_QSget_objname (dbl_QSprob p)
dbl_QSLIB_INTERFACE int dbl_QSget_objsense (dbl_QSprob p, int *newsense)
dbl_QSLIB_INTERFACE int dbl_QSget_objval (dbl_QSprob p, double *value)
dbl_QSLIB_INTERFACE int dbl_QSget_param (dbl_QSprob p, int whichparam, int *value)
dbl_QSLIB_INTERFACE int dbl_QSget_param_EGlpNum (dbl_QSprob p, int whichparam, double *value)
dbl_QSLIB_INTERFACE int dbl_QSget_pi_array (dbl_QSprob p, double *pi)
dbl_QSLIB_INTERFACE dbl_QSprob dbl_QSget_prob (dbl_QSline_reader reader, const char *probname, const char *filetype)
dbl_QSLIB_INTERFACE char * dbl_QSget_probname (dbl_QSprob p)
dbl_QSLIB_INTERFACE int dbl_QSget_ranged_rows (dbl_QSprob p, int **rowcnt, int **rowbeg, int **rowind, double **rowval, double **rhs, char **sense, double **range, char ***names)
dbl_QSLIB_INTERFACE int dbl_QSget_ranged_rows_list (dbl_QSprob p, int num, int *rowlist, int **rowcnt, int **rowbeg, int **rowind, double **rowval, double **rhs, char **sense, double **range, char ***names)
dbl_QSLIB_INTERFACE int dbl_QSget_rc_array (dbl_QSprob p, double *rc)
dbl_QSLIB_INTERFACE int dbl_QSget_rhs (dbl_QSprob p, double *rhs)
dbl_QSLIB_INTERFACE int dbl_QSget_row_index (dbl_QSprob p, const char *name, int *rowindex)
dbl_QSLIB_INTERFACE int dbl_QSget_rowcount (dbl_QSprob p)
dbl_QSLIB_INTERFACE int dbl_QSget_rownames (dbl_QSprob p, char **rownames)
dbl_QSLIB_INTERFACE int dbl_QSget_rows (dbl_QSprob p, int **rowcnt, int **rowbeg, int **rowind, double **rowval, double **rhs, char **sense, char ***names)
dbl_QSLIB_INTERFACE int dbl_QSget_rows_list (dbl_QSprob p, int num, int *rowlist, int **rowcnt, int **rowbeg, int **rowind, double **rowval, double **rhs, char **sense, char ***names)
dbl_QSLIB_INTERFACE int dbl_QSget_senses (dbl_QSprob p, char *senses)
dbl_QSLIB_INTERFACE int dbl_QSget_slack_array (dbl_QSprob p, double *slack)
dbl_QSLIB_INTERFACE int dbl_QSget_solution (dbl_QSprob p, double *value, double *x, double *pi, double *slack, double *rc)
dbl_QSLIB_INTERFACE int dbl_QSget_status (dbl_QSprob p, int *status)
dbl_QSLIB_INTERFACE int dbl_QSget_tableau_row (dbl_QSprob p, int indx, double *tableaurow)
dbl_QSLIB_INTERFACE int dbl_QSget_x_array (dbl_QSprob p, double *x)
dbl_QSLIB_INTERFACE void dbl_QSline_reader_free (dbl_QSline_reader reader)
dbl_QSLIB_INTERFACE char * dbl_QSline_reader_get (dbl_QSline_reader reader, char *s, int size)
dbl_QSLIB_INTERFACE dbl_QSline_reader dbl_QSline_reader_new (void *fct, void *data_src)
dbl_QSLIB_INTERFACE void dbl_QSline_reader_set_error_collector (dbl_QSline_reader reader, dbl_QSerror_collector collector)
dbl_QSLIB_INTERFACE int dbl_QSload_basis (dbl_QSprob p, dbl_QSbas B)
dbl_QSLIB_INTERFACE int dbl_QSload_basis_and_row_norms_array (dbl_QSprob p, char *cstat, char *rstat, double *rownorms)
dbl_QSLIB_INTERFACE int dbl_QSload_basis_array (dbl_QSprob p, char *cstat, char *rstat)
dbl_QSLIB_INTERFACE dbl_QSprob dbl_QSload_prob (const char *probname, int ncols, int nrows, int *cmatcnt, int *cmatbeg, int *cmatind, double *cmatval, int objsense, double *obj, double *rhs, char *sense, double *lower, double *upper, const char **colnames, const char **rownames)
dbl_QSLIB_INTERFACE int dbl_QSnew_col (dbl_QSprob p, const double obj, const double lower, const double upper, const char *name)
dbl_QSLIB_INTERFACE int dbl_QSnew_row (dbl_QSprob p, const double rhs, int sense, const char *name)
dbl_QSLIB_INTERFACE int dbl_QSopt_dual (dbl_QSprob p, int *status)
dbl_QSLIB_INTERFACE int dbl_QSopt_pivotin_col (dbl_QSprob p, int ccnt, int *clist)
dbl_QSLIB_INTERFACE int dbl_QSopt_pivotin_row (dbl_QSprob p, int rcnt, int *rlist)
dbl_QSLIB_INTERFACE int dbl_QSopt_primal (dbl_QSprob p, int *status)
dbl_QSLIB_INTERFACE int dbl_QSopt_strongbranch (dbl_QSprob p, int ncand, int *candidatelist, double *xlist, double *down_vals, double *up_vals, int iterations, double objbound)
dbl_QSLIB_INTERFACE int dbl_QSread_and_load_basis (dbl_QSprob p, const char *filename)
dbl_QSLIB_INTERFACE dbl_QSbas dbl_QSread_basis (dbl_QSprob p, const char *filename)
dbl_QSLIB_INTERFACE dbl_QSprob dbl_QSread_prob (const char *filename, const char *filetype)
dbl_QSLIB_INTERFACE int dbl_QSreport_prob (dbl_QSprob p, const char *filetype, dbl_QSerror_collector c)
dbl_QSLIB_INTERFACE int dbl_QSset_param (dbl_QSprob p, int whichparam, int newvalue)
dbl_QSLIB_INTERFACE int dbl_QSset_param_EGlpNum (dbl_QSprob p, int whichparam, double newvalue)
dbl_QSLIB_INTERFACE void dbl_QSset_precision (const unsigned prec)
dbl_QSLIB_INTERFACE void dbl_QSset_reporter (dbl_QSprob prob, int iterskip, void *fct, void *dest)
dbl_QSLIB_INTERFACE void dbl_QSstart (void)
dbl_QSLIB_INTERFACE int dbl_QStest_row_norms (dbl_QSprob p)
dbl_QSLIB_INTERFACE char * dbl_QSversion (void)
dbl_QSLIB_INTERFACE int dbl_QSwrite_basis (dbl_QSprob p, dbl_QSbas B, const char *filename)
dbl_QSLIB_INTERFACE int dbl_QSwrite_prob (dbl_QSprob p, const char *filename, const char *filetype)
dbl_QSLIB_INTERFACE int dbl_QSwrite_prob_file (dbl_QSprob p, FILE *file, const char *filetype)


Define Documentation

#define dbl_QSLIB_INTERFACE   extern

Definition at line 39 of file dbl_qsopt.h.


Typedef Documentation

typedef struct qsbasis* dbl_QSbas

Definition at line 47 of file dbl_qsopt.h.

typedef struct dbl_qserror_collector* dbl_QSerror_collector

Definition at line 256 of file dbl_qsopt.h.

typedef struct dbl_qserror_memory* dbl_QSerror_memory

Definition at line 257 of file dbl_qsopt.h.

typedef struct dbl_qsformat_error* dbl_QSformat_error

Definition at line 255 of file dbl_qsopt.h.

typedef struct dbl_qsline_reader* dbl_QSline_reader

Definition at line 254 of file dbl_qsopt.h.

typedef struct dbl_qsdata* dbl_QSprob

Definition at line 46 of file dbl_qsopt.h.


Function Documentation

dbl_QSLIB_INTERFACE int dbl_QSadd_col ( dbl_QSprob  p,
int  cnt,
int *  cmatind,
double *  cmatval,
double  obj,
double  lower,
double  upper,
const char *  name 
)

dbl_QSLIB_INTERFACE int dbl_QSadd_cols ( dbl_QSprob  p,
int  num,
int *  cmatcnt,
int *  cmatbeg,
int *  cmatind,
double *  cmatval,
double *  obj,
double *  lower,
double *  upper,
const char **  names 
)

dbl_QSLIB_INTERFACE int dbl_QSadd_ranged_row ( dbl_QSprob  p,
int  cnt,
int *  rmatind,
const double *  rmatval,
const double *  rhs,
int  sense,
const double *  range,
const char *  name 
)

dbl_QSLIB_INTERFACE int dbl_QSadd_ranged_rows ( dbl_QSprob  p,
int  num,
int *  rmatcnt,
int *  rmatbeg,
int *  rmatind,
const double *  rmatval,
const double *  rhs,
char *  sense,
const double *  range,
const char **  names 
)

dbl_QSLIB_INTERFACE int dbl_QSadd_row ( dbl_QSprob  p,
int  cnt,
int *  rmatind,
const double *  rmatval,
const double *  rhs,
int  sense,
const char *  name 
)

dbl_QSLIB_INTERFACE int dbl_QSadd_rows ( dbl_QSprob  p,
int  num,
int *  rmatcnt,
int *  rmatbeg,
int *  rmatind,
const double *  rmatval,
const double *  rhs,
char *  sense,
const char **  names 
)

dbl_QSLIB_INTERFACE int dbl_QSchange_bound ( dbl_QSprob  p,
int  indx,
int  lu,
const double  bound 
)

dbl_QSLIB_INTERFACE int dbl_QSchange_bounds ( dbl_QSprob  p,
int  num,
int *  collist,
char *  lu,
const double *  bounds 
)

dbl_QSLIB_INTERFACE int dbl_QSchange_coef ( dbl_QSprob  p,
int  rowindex,
int  colindex,
double  coef 
)

dbl_QSLIB_INTERFACE int dbl_QSchange_objcoef ( dbl_QSprob  p,
int  indx,
double  coef 
)

dbl_QSLIB_INTERFACE int dbl_QSchange_objsense ( dbl_QSprob  p,
int  newsense 
)

dbl_QSLIB_INTERFACE int dbl_QSchange_range ( dbl_QSprob  p,
int  rowindex,
double  range 
)

dbl_QSLIB_INTERFACE int dbl_QSchange_rhscoef ( dbl_QSprob  p,
int  indx,
double  coef 
)

dbl_QSLIB_INTERFACE int dbl_QSchange_sense ( dbl_QSprob  p,
int  rowindex,
int  sense 
)

dbl_QSLIB_INTERFACE int dbl_QSchange_senses ( dbl_QSprob  p,
int  num,
int *  rowlist,
char *  sense 
)

dbl_QSLIB_INTERFACE int dbl_QScompute_row_norms ( dbl_QSprob  p  ) 

dbl_QSLIB_INTERFACE dbl_QSprob dbl_QScopy_prob ( dbl_QSprob  p,
const char *  newname 
)

dbl_QSLIB_INTERFACE dbl_QSprob dbl_QScreate_prob ( const char *  name,
int  objsense 
)

dbl_QSLIB_INTERFACE int dbl_QSdelete_col ( dbl_QSprob  p,
int  colindex 
)

dbl_QSLIB_INTERFACE int dbl_QSdelete_cols ( dbl_QSprob  p,
int  num,
int *  dellist 
)

dbl_QSLIB_INTERFACE int dbl_QSdelete_named_column ( dbl_QSprob  p,
const char *  colname 
)

dbl_QSLIB_INTERFACE int dbl_QSdelete_named_columns_list ( dbl_QSprob  p,
int  num,
const char **  colnames 
)

dbl_QSLIB_INTERFACE int dbl_QSdelete_named_row ( dbl_QSprob  p,
const char *  rowname 
)

dbl_QSLIB_INTERFACE int dbl_QSdelete_named_rows_list ( dbl_QSprob  p,
int  num,
const char **  rownames 
)

dbl_QSLIB_INTERFACE int dbl_QSdelete_row ( dbl_QSprob  p,
int  rowindex 
)

dbl_QSLIB_INTERFACE int dbl_QSdelete_rows ( dbl_QSprob  p,
int  num,
int *  dellist 
)

dbl_QSLIB_INTERFACE int dbl_QSdelete_setcols ( dbl_QSprob  p,
int *  flags 
)

dbl_QSLIB_INTERFACE int dbl_QSdelete_setrows ( dbl_QSprob  p,
int *  flags 
)

dbl_QSLIB_INTERFACE void dbl_QSend ( void   ) 

< whe we use non native numbers, we need to make some initializations before operating with the library just to free any internal static data needed by the variable dbl_precision numbers

dbl_QSLIB_INTERFACE void dbl_QSerror_collector_free ( dbl_QSerror_collector  c  ) 

Definition at line 3677 of file dbl_qsopt.c.

References dbl_ILLerror_collector_free().

Here is the call graph for this function:

dbl_QSLIB_INTERFACE dbl_QSerror_collector dbl_QSerror_collector_new ( void *  fct,
void *  dest 
)

Definition at line 3662 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_ILLerror_collector_new().

Here is the call graph for this function:

dbl_QSLIB_INTERFACE const char* dbl_QSerror_get_desc ( dbl_QSformat_error  error  ) 

Definition at line 3824 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_qsformat_error::desc.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE const char* dbl_QSerror_get_line ( dbl_QSformat_error  error  ) 

Definition at line 3845 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_qsformat_error::theLine.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE int dbl_QSerror_get_line_number ( dbl_QSformat_error  error  ) 

Definition at line 3831 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_qsformat_error::lineNumber.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE int dbl_QSerror_get_pos ( dbl_QSformat_error  error  ) 

Definition at line 3838 of file dbl_qsopt.c.

References dbl_qsformat_error::at, and dbl_check_pointer().

Here is the call graph for this function:

dbl_QSLIB_INTERFACE int dbl_QSerror_get_type ( dbl_QSformat_error  error  ) 

Definition at line 3817 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_qsformat_error::type.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE dbl_QSerror_collector dbl_QSerror_memory_collector_new ( dbl_QSerror_memory  mem  ) 

Definition at line 3671 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_ILLerror_memory_collector_new().

Here is the call graph for this function:

dbl_QSLIB_INTERFACE dbl_QSerror_memory dbl_QSerror_memory_create ( int  takeErrorLines  ) 

Definition at line 3869 of file dbl_qsopt.c.

References dbl_ILLerror_memory_create().

Here is the call graph for this function:

dbl_QSLIB_INTERFACE void dbl_QSerror_memory_free ( dbl_QSerror_memory  mem  ) 

Definition at line 3875 of file dbl_qsopt.c.

References dbl_ILLerror_memory_free(), and NULL.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE dbl_QSformat_error dbl_QSerror_memory_get_last_error ( dbl_QSerror_memory  mem  ) 

Definition at line 3907 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_qserror_memory::error_list.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE int dbl_QSerror_memory_get_nerrors ( dbl_QSerror_memory  mem  ) 

Definition at line 3884 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_qserror_memory::nerror.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE int dbl_QSerror_memory_get_nof ( dbl_QSerror_memory  mem,
int  error_type 
)

Definition at line 3891 of file dbl_qsopt.c.

References dbl_check_pointer(), dbl_qserror_memory::has_error, ILL_REPRT, and QS_INPUT_NERROR.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE dbl_QSformat_error dbl_QSerror_memory_get_prev_error ( dbl_QSformat_error  e  ) 

Definition at line 3914 of file dbl_qsopt.c.

References dbl_check_pointer(), dbl_qsformat_error::next, and NULL.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE void dbl_QSerror_print ( FILE *  f,
dbl_QSformat_error  error 
)

Definition at line 3852 of file dbl_qsopt.c.

References dbl_check_pointer(), dbl_ILLformat_error_print(), and NULL.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE const char* dbl_QSformat_error_type_string ( int  tp  ) 

Definition at line 3785 of file dbl_qsopt.c.

References QS_DATA_ERROR, QS_DATA_WARN, QS_LP_FORMAT_ERROR, QS_LP_FORMAT_WARN, QS_MPS_FORMAT_ERROR, and QS_MPS_FORMAT_WARN.

dbl_QSLIB_INTERFACE void dbl_QSfree ( void *  ptr  ) 

dbl_QSLIB_INTERFACE void dbl_QSfree_basis ( dbl_QSbas  B  ) 

dbl_QSLIB_INTERFACE void dbl_QSfree_prob ( dbl_QSprob  p  ) 

dbl_QSLIB_INTERFACE dbl_QSbas dbl_QSget_basis ( dbl_QSprob  p  ) 

dbl_QSLIB_INTERFACE int dbl_QSget_basis_and_row_norms_array ( dbl_QSprob  p,
char *  cstat,
char *  rstat,
double *  rownorms 
)

dbl_QSLIB_INTERFACE int dbl_QSget_basis_array ( dbl_QSprob  p,
char *  cstat,
char *  rstat 
)

dbl_QSLIB_INTERFACE int dbl_QSget_basis_order ( dbl_QSprob  p,
int *  basorder 
)

dbl_QSLIB_INTERFACE int dbl_QSget_binv_row ( dbl_QSprob  p,
int  indx,
double *  binvrow 
)

dbl_QSLIB_INTERFACE int dbl_QSget_bound ( dbl_QSprob  p,
int  colindex,
int  lu,
double *  bound 
)

dbl_QSLIB_INTERFACE int dbl_QSget_bounds ( dbl_QSprob  p,
double *  lower,
double *  upper 
)

dbl_QSLIB_INTERFACE int dbl_QSget_bounds_list ( dbl_QSprob  p,
int  num,
int *  collist,
double *  lb,
double *  ub 
)

dbl_QSLIB_INTERFACE int dbl_QSget_coef ( dbl_QSprob  p,
int  rowindex,
int  colindex,
double *  coef 
)

dbl_QSLIB_INTERFACE int dbl_QSget_colcount ( dbl_QSprob  p  ) 

dbl_QSLIB_INTERFACE int dbl_QSget_colnames ( dbl_QSprob  p,
char **  colnames 
)

dbl_QSLIB_INTERFACE int dbl_QSget_column_index ( dbl_QSprob  p,
const char *  name,
int *  colindex 
)

dbl_QSLIB_INTERFACE int dbl_QSget_columns ( dbl_QSprob  p,
int **  colcnt,
int **  colbeg,
int **  colind,
double **  colval,
double **  obj,
double **  lower,
double **  upper,
char ***  names 
)

dbl_QSLIB_INTERFACE int dbl_QSget_columns_list ( dbl_QSprob  p,
int  num,
int *  collist,
int **  colcnt,
int **  colbeg,
int **  colind,
double **  colval,
double **  obj,
double **  lower,
double **  upper,
char ***  names 
)

dbl_QSLIB_INTERFACE int dbl_QSget_infeas_array ( dbl_QSprob  p,
double *  pi 
)

dbl_QSLIB_INTERFACE int dbl_QSget_intcount ( dbl_QSprob  p,
int *  count 
)

dbl_QSLIB_INTERFACE int dbl_QSget_intflags ( dbl_QSprob  p,
int *  intflags 
)

dbl_QSLIB_INTERFACE int dbl_QSget_itcnt ( dbl_QSprob  p,
int *  pI_iter,
int *  pII_iter,
int *  dI_iter,
int *  dII_iter,
int *  tot_iter 
)

dbl_QSLIB_INTERFACE int dbl_QSget_named_pi ( dbl_QSprob  p,
const char *  rowname,
double *  val 
)

dbl_QSLIB_INTERFACE int dbl_QSget_named_rc ( dbl_QSprob  p,
const char *  colname,
double *  val 
)

dbl_QSLIB_INTERFACE int dbl_QSget_named_slack ( dbl_QSprob  p,
const char *  rowname,
double *  val 
)

dbl_QSLIB_INTERFACE int dbl_QSget_named_x ( dbl_QSprob  p,
const char *  colname,
double *  val 
)

dbl_QSLIB_INTERFACE int dbl_QSget_nzcount ( dbl_QSprob  p  ) 

dbl_QSLIB_INTERFACE int dbl_QSget_obj ( dbl_QSprob  p,
double *  obj 
)

dbl_QSLIB_INTERFACE int dbl_QSget_obj_list ( dbl_QSprob  p,
int  num,
int *  collist,
double *  obj 
)

dbl_QSLIB_INTERFACE char* dbl_QSget_objname ( dbl_QSprob  p  ) 

dbl_QSLIB_INTERFACE int dbl_QSget_objsense ( dbl_QSprob  p,
int *  newsense 
)

dbl_QSLIB_INTERFACE int dbl_QSget_objval ( dbl_QSprob  p,
double *  value 
)

dbl_QSLIB_INTERFACE int dbl_QSget_param ( dbl_QSprob  p,
int  whichparam,
int *  value 
)

dbl_QSLIB_INTERFACE int dbl_QSget_param_EGlpNum ( dbl_QSprob  p,
int  whichparam,
double *  value 
)

dbl_QSLIB_INTERFACE int dbl_QSget_pi_array ( dbl_QSprob  p,
double *  pi 
)

dbl_QSLIB_INTERFACE dbl_QSprob dbl_QSget_prob ( dbl_QSline_reader  reader,
const char *  probname,
const char *  filetype 
)

Definition at line 3683 of file dbl_qsopt.c.

References dbl_ILL_UTIL_STR, dbl_ILLread(), dbl_ILLsimplex_load_lpinfo(), dbl_QSfree_prob(), ILL_CHECKnull, ILL_CLEANUP, ILL_FAILfalse, ILL_IFFREE, dbl_qsdata::lp, dbl_qsdata::name, NULL, dbl_ILLlpdata::probname, and dbl_qsdata::qslp.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE char* dbl_QSget_probname ( dbl_QSprob  p  ) 

dbl_QSLIB_INTERFACE int dbl_QSget_ranged_rows ( dbl_QSprob  p,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
double **  rowval,
double **  rhs,
char **  sense,
double **  range,
char ***  names 
)

dbl_QSLIB_INTERFACE int dbl_QSget_ranged_rows_list ( dbl_QSprob  p,
int  num,
int *  rowlist,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
double **  rowval,
double **  rhs,
char **  sense,
double **  range,
char ***  names 
)

dbl_QSLIB_INTERFACE int dbl_QSget_rc_array ( dbl_QSprob  p,
double *  rc 
)

dbl_QSLIB_INTERFACE int dbl_QSget_rhs ( dbl_QSprob  p,
double *  rhs 
)

dbl_QSLIB_INTERFACE int dbl_QSget_row_index ( dbl_QSprob  p,
const char *  name,
int *  rowindex 
)

dbl_QSLIB_INTERFACE int dbl_QSget_rowcount ( dbl_QSprob  p  ) 

dbl_QSLIB_INTERFACE int dbl_QSget_rownames ( dbl_QSprob  p,
char **  rownames 
)

dbl_QSLIB_INTERFACE int dbl_QSget_rows ( dbl_QSprob  p,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
double **  rowval,
double **  rhs,
char **  sense,
char ***  names 
)

dbl_QSLIB_INTERFACE int dbl_QSget_rows_list ( dbl_QSprob  p,
int  num,
int *  rowlist,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
double **  rowval,
double **  rhs,
char **  sense,
char ***  names 
)

dbl_QSLIB_INTERFACE int dbl_QSget_senses ( dbl_QSprob  p,
char *  senses 
)

dbl_QSLIB_INTERFACE int dbl_QSget_slack_array ( dbl_QSprob  p,
double *  slack 
)

dbl_QSLIB_INTERFACE int dbl_QSget_solution ( dbl_QSprob  p,
double *  value,
double *  x,
double *  pi,
double *  slack,
double *  rc 
)

dbl_QSLIB_INTERFACE int dbl_QSget_status ( dbl_QSprob  p,
int *  status 
)

dbl_QSLIB_INTERFACE int dbl_QSget_tableau_row ( dbl_QSprob  p,
int  indx,
double *  tableaurow 
)

dbl_QSLIB_INTERFACE int dbl_QSget_x_array ( dbl_QSprob  p,
double *  x 
)

dbl_QSLIB_INTERFACE void dbl_QSline_reader_free ( dbl_QSline_reader  reader  ) 

Definition at line 3645 of file dbl_qsopt.c.

References dbl_ILLline_reader_free().

Here is the call graph for this function:

dbl_QSLIB_INTERFACE char* dbl_QSline_reader_get ( dbl_QSline_reader  reader,
char *  s,
int  size 
)

Definition at line 3651 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_ILLline_reader_get.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE dbl_QSline_reader dbl_QSline_reader_new ( void *  fct,
void *  data_src 
)

Definition at line 3627 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_ILLline_reader_new().

Here is the call graph for this function:

dbl_QSLIB_INTERFACE void dbl_QSline_reader_set_error_collector ( dbl_QSline_reader  reader,
dbl_QSerror_collector  collector 
)

Definition at line 3636 of file dbl_qsopt.c.

References dbl_check_pointer(), and dbl_qsline_reader::error_collector.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE int dbl_QSload_basis ( dbl_QSprob  p,
dbl_QSbas  B 
)

dbl_QSLIB_INTERFACE int dbl_QSload_basis_and_row_norms_array ( dbl_QSprob  p,
char *  cstat,
char *  rstat,
double *  rownorms 
)

dbl_QSLIB_INTERFACE int dbl_QSload_basis_array ( dbl_QSprob  p,
char *  cstat,
char *  rstat 
)

dbl_QSLIB_INTERFACE dbl_QSprob dbl_QSload_prob ( const char *  probname,
int  ncols,
int  nrows,
int *  cmatcnt,
int *  cmatbeg,
int *  cmatind,
double *  cmatval,
int  objsense,
double *  obj,
double *  rhs,
char *  sense,
double *  lower,
double *  upper,
const char **  colnames,
const char **  rownames 
)

dbl_QSLIB_INTERFACE int dbl_QSnew_col ( dbl_QSprob  p,
const double  obj,
const double  lower,
const double  upper,
const char *  name 
)

dbl_QSLIB_INTERFACE int dbl_QSnew_row ( dbl_QSprob  p,
const double  rhs,
int  sense,
const char *  name 
)

dbl_QSLIB_INTERFACE int dbl_QSopt_dual ( dbl_QSprob  p,
int *  status 
)

dbl_QSLIB_INTERFACE int dbl_QSopt_pivotin_col ( dbl_QSprob  p,
int  ccnt,
int *  clist 
)

dbl_QSLIB_INTERFACE int dbl_QSopt_pivotin_row ( dbl_QSprob  p,
int  rcnt,
int *  rlist 
)

dbl_QSLIB_INTERFACE int dbl_QSopt_primal ( dbl_QSprob  p,
int *  status 
)

dbl_QSLIB_INTERFACE int dbl_QSopt_strongbranch ( dbl_QSprob  p,
int  ncand,
int *  candidatelist,
double *  xlist,
double *  down_vals,
double *  up_vals,
int  iterations,
double  objbound 
)

dbl_QSLIB_INTERFACE int dbl_QSread_and_load_basis ( dbl_QSprob  p,
const char *  filename 
)

dbl_QSLIB_INTERFACE dbl_QSbas dbl_QSread_basis ( dbl_QSprob  p,
const char *  filename 
)

dbl_QSLIB_INTERFACE dbl_QSprob dbl_QSread_prob ( const char *  filename,
const char *  filetype 
)

dbl_QSLIB_INTERFACE int dbl_QSreport_prob ( dbl_QSprob  p,
const char *  filetype,
dbl_QSerror_collector  c 
)

dbl_QSLIB_INTERFACE int dbl_QSset_param ( dbl_QSprob  p,
int  whichparam,
int  newvalue 
)

dbl_QSLIB_INTERFACE int dbl_QSset_param_EGlpNum ( dbl_QSprob  p,
int  whichparam,
double  newvalue 
)

dbl_QSLIB_INTERFACE void dbl_QSset_precision ( const unsigned  prec  ) 

dbl_QSLIB_INTERFACE void dbl_QSset_reporter ( dbl_QSprob  prob,
int  iterskip,
void *  fct,
void *  dest 
)

Definition at line 3762 of file dbl_qsopt.c.

References dbl_check_pointer(), dbl_check_qsdata_pointer(), ILL_FAILtrue, ILLstring_reporter_init(), dbl_lpinfo::iterskip, dbl_qsdata::lp, NULL, dbl_qsdata::qslp, and dbl_ILLlpdata::reporter.

Here is the call graph for this function:

dbl_QSLIB_INTERFACE void dbl_QSstart ( void   ) 

< set the dbl_precision for floating point numbers to the given number of bits

dbl_QSLIB_INTERFACE int dbl_QStest_row_norms ( dbl_QSprob  p  ) 

dbl_QSLIB_INTERFACE char* dbl_QSversion ( void   ) 

Definition at line 3747 of file dbl_qsopt.c.

References PACKAGE_STRING.

dbl_QSLIB_INTERFACE int dbl_QSwrite_basis ( dbl_QSprob  p,
dbl_QSbas  B,
const char *  filename 
)

dbl_QSLIB_INTERFACE int dbl_QSwrite_prob ( dbl_QSprob  p,
const char *  filename,
const char *  filetype 
)

dbl_QSLIB_INTERFACE int dbl_QSwrite_prob_file ( dbl_QSprob  p,
FILE *  file,
const char *  filetype 
)


Generated on Thu Mar 29 09:34:25 2012 for QSopt_ex by  doxygen 1.4.7