qsopt.h File Reference

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

Include dependency graph for qsopt.h:

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

Go to the source code of this file.

Defines

#define QSLIB_INTERFACE   extern

Typedefs

typedef qsbasisQSbas
typedef qserror_collectorQSerror_collector
typedef qserror_memoryQSerror_memory
typedef qsformat_errorQSformat_error
typedef qsline_readerQSline_reader
typedef qsdataQSprob

Functions

QSLIB_INTERFACE int QSadd_col (QSprob p, int cnt, int *cmatind, EGlpNum_t *cmatval, EGlpNum_t obj, EGlpNum_t lower, EGlpNum_t upper, const char *name)
QSLIB_INTERFACE int QSadd_cols (QSprob p, int num, int *cmatcnt, int *cmatbeg, int *cmatind, EGlpNum_t *cmatval, EGlpNum_t *obj, EGlpNum_t *lower, EGlpNum_t *upper, const char **names)
QSLIB_INTERFACE int QSadd_ranged_row (QSprob p, int cnt, int *rmatind, const EGlpNum_t *rmatval, const EGlpNum_t *rhs, int sense, const EGlpNum_t *range, const char *name)
QSLIB_INTERFACE int QSadd_ranged_rows (QSprob p, int num, int *rmatcnt, int *rmatbeg, int *rmatind, const EGlpNum_t *rmatval, const EGlpNum_t *rhs, char *sense, const EGlpNum_t *range, const char **names)
QSLIB_INTERFACE int QSadd_row (QSprob p, int cnt, int *rmatind, const EGlpNum_t *rmatval, const EGlpNum_t *rhs, int sense, const char *name)
QSLIB_INTERFACE int QSadd_rows (QSprob p, int num, int *rmatcnt, int *rmatbeg, int *rmatind, const EGlpNum_t *rmatval, const EGlpNum_t *rhs, char *sense, const char **names)
QSLIB_INTERFACE int QSchange_bound (QSprob p, int indx, int lu, const EGlpNum_t bound)
QSLIB_INTERFACE int QSchange_bounds (QSprob p, int num, int *collist, char *lu, const EGlpNum_t *bounds)
QSLIB_INTERFACE int QSchange_coef (QSprob p, int rowindex, int colindex, EGlpNum_t coef)
QSLIB_INTERFACE int QSchange_objcoef (QSprob p, int indx, EGlpNum_t coef)
QSLIB_INTERFACE int QSchange_objsense (QSprob p, int newsense)
QSLIB_INTERFACE int QSchange_range (QSprob p, int rowindex, EGlpNum_t range)
QSLIB_INTERFACE int QSchange_rhscoef (QSprob p, int indx, EGlpNum_t coef)
QSLIB_INTERFACE int QSchange_sense (QSprob p, int rowindex, int sense)
QSLIB_INTERFACE int QSchange_senses (QSprob p, int num, int *rowlist, char *sense)
QSLIB_INTERFACE int QScompute_row_norms (QSprob p)
QSLIB_INTERFACE QSprob QScopy_prob (QSprob p, const char *newname)
QSLIB_INTERFACE QSprob QScreate_prob (const char *name, int objsense)
QSLIB_INTERFACE int QSdelete_col (QSprob p, int colindex)
QSLIB_INTERFACE int QSdelete_cols (QSprob p, int num, int *dellist)
QSLIB_INTERFACE int QSdelete_named_column (QSprob p, const char *colname)
QSLIB_INTERFACE int QSdelete_named_columns_list (QSprob p, int num, const char **colnames)
QSLIB_INTERFACE int QSdelete_named_row (QSprob p, const char *rowname)
QSLIB_INTERFACE int QSdelete_named_rows_list (QSprob p, int num, const char **rownames)
QSLIB_INTERFACE int QSdelete_row (QSprob p, int rowindex)
QSLIB_INTERFACE int QSdelete_rows (QSprob p, int num, int *dellist)
QSLIB_INTERFACE int QSdelete_setcols (QSprob p, int *flags)
QSLIB_INTERFACE int QSdelete_setrows (QSprob p, int *flags)
QSLIB_INTERFACE void QSend (void)
QSLIB_INTERFACE void QSerror_collector_free (QSerror_collector c)
QSLIB_INTERFACE QSerror_collector QSerror_collector_new (void *fct, void *dest)
QSLIB_INTERFACE const char * QSerror_get_desc (QSformat_error error)
QSLIB_INTERFACE const char * QSerror_get_line (QSformat_error error)
QSLIB_INTERFACE int QSerror_get_line_number (QSformat_error error)
QSLIB_INTERFACE int QSerror_get_pos (QSformat_error error)
QSLIB_INTERFACE int QSerror_get_type (QSformat_error error)
QSLIB_INTERFACE QSerror_collector QSerror_memory_collector_new (QSerror_memory mem)
QSLIB_INTERFACE QSerror_memory QSerror_memory_create (int takeErrorLines)
QSLIB_INTERFACE void QSerror_memory_free (QSerror_memory mem)
QSLIB_INTERFACE QSformat_error QSerror_memory_get_last_error (QSerror_memory mem)
QSLIB_INTERFACE int QSerror_memory_get_nerrors (QSerror_memory mem)
QSLIB_INTERFACE int QSerror_memory_get_nof (QSerror_memory mem, int error_type)
QSLIB_INTERFACE QSformat_error QSerror_memory_get_prev_error (QSformat_error e)
QSLIB_INTERFACE void QSerror_print (FILE *f, QSformat_error error)
QSLIB_INTERFACE const char * QSformat_error_type_string (int tp)
QSLIB_INTERFACE void QSfree (void *ptr)
QSLIB_INTERFACE void QSfree_basis (QSbas B)
QSLIB_INTERFACE void QSfree_prob (QSprob p)
QSLIB_INTERFACE QSbas QSget_basis (QSprob p)
QSLIB_INTERFACE int QSget_basis_and_row_norms_array (QSprob p, char *cstat, char *rstat, EGlpNum_t *rownorms)
QSLIB_INTERFACE int QSget_basis_array (QSprob p, char *cstat, char *rstat)
QSLIB_INTERFACE int QSget_basis_order (QSprob p, int *basorder)
QSLIB_INTERFACE int QSget_binv_row (QSprob p, int indx, EGlpNum_t *binvrow)
QSLIB_INTERFACE int QSget_bound (QSprob p, int colindex, int lu, EGlpNum_t *bound)
QSLIB_INTERFACE int QSget_bounds (QSprob p, EGlpNum_t *lower, EGlpNum_t *upper)
QSLIB_INTERFACE int QSget_bounds_list (QSprob p, int num, int *collist, EGlpNum_t *lb, EGlpNum_t *ub)
QSLIB_INTERFACE int QSget_coef (QSprob p, int rowindex, int colindex, EGlpNum_t *coef)
QSLIB_INTERFACE int QSget_colcount (QSprob p)
QSLIB_INTERFACE int QSget_colnames (QSprob p, char **colnames)
QSLIB_INTERFACE int QSget_column_index (QSprob p, const char *name, int *colindex)
QSLIB_INTERFACE int QSget_columns (QSprob p, int **colcnt, int **colbeg, int **colind, EGlpNum_t **colval, EGlpNum_t **obj, EGlpNum_t **lower, EGlpNum_t **upper, char ***names)
QSLIB_INTERFACE int QSget_columns_list (QSprob p, int num, int *collist, int **colcnt, int **colbeg, int **colind, EGlpNum_t **colval, EGlpNum_t **obj, EGlpNum_t **lower, EGlpNum_t **upper, char ***names)
QSLIB_INTERFACE int QSget_infeas_array (QSprob p, EGlpNum_t *pi)
QSLIB_INTERFACE int QSget_intcount (QSprob p, int *count)
QSLIB_INTERFACE int QSget_intflags (QSprob p, int *intflags)
QSLIB_INTERFACE int QSget_itcnt (QSprob p, int *pI_iter, int *pII_iter, int *dI_iter, int *dII_iter, int *tot_iter)
QSLIB_INTERFACE int QSget_named_pi (QSprob p, const char *rowname, EGlpNum_t *val)
QSLIB_INTERFACE int QSget_named_rc (QSprob p, const char *colname, EGlpNum_t *val)
QSLIB_INTERFACE int QSget_named_slack (QSprob p, const char *rowname, EGlpNum_t *val)
QSLIB_INTERFACE int QSget_named_x (QSprob p, const char *colname, EGlpNum_t *val)
QSLIB_INTERFACE int QSget_nzcount (QSprob p)
QSLIB_INTERFACE int QSget_obj (QSprob p, EGlpNum_t *obj)
QSLIB_INTERFACE int QSget_obj_list (QSprob p, int num, int *collist, EGlpNum_t *obj)
QSLIB_INTERFACE char * QSget_objname (QSprob p)
QSLIB_INTERFACE int QSget_objsense (QSprob p, int *newsense)
QSLIB_INTERFACE int QSget_objval (QSprob p, EGlpNum_t *value)
QSLIB_INTERFACE int QSget_param (QSprob p, int whichparam, int *value)
QSLIB_INTERFACE int QSget_param_EGlpNum (QSprob p, int whichparam, EGlpNum_t *value)
QSLIB_INTERFACE int QSget_pi_array (QSprob p, EGlpNum_t *pi)
QSLIB_INTERFACE QSprob QSget_prob (QSline_reader reader, const char *probname, const char *filetype)
QSLIB_INTERFACE char * QSget_probname (QSprob p)
QSLIB_INTERFACE int QSget_ranged_rows (QSprob p, int **rowcnt, int **rowbeg, int **rowind, EGlpNum_t **rowval, EGlpNum_t **rhs, char **sense, EGlpNum_t **range, char ***names)
QSLIB_INTERFACE int QSget_ranged_rows_list (QSprob p, int num, int *rowlist, int **rowcnt, int **rowbeg, int **rowind, EGlpNum_t **rowval, EGlpNum_t **rhs, char **sense, EGlpNum_t **range, char ***names)
QSLIB_INTERFACE int QSget_rc_array (QSprob p, EGlpNum_t *rc)
QSLIB_INTERFACE int QSget_rhs (QSprob p, EGlpNum_t *rhs)
QSLIB_INTERFACE int QSget_row_index (QSprob p, const char *name, int *rowindex)
QSLIB_INTERFACE int QSget_rowcount (QSprob p)
QSLIB_INTERFACE int QSget_rownames (QSprob p, char **rownames)
QSLIB_INTERFACE int QSget_rows (QSprob p, int **rowcnt, int **rowbeg, int **rowind, EGlpNum_t **rowval, EGlpNum_t **rhs, char **sense, char ***names)
QSLIB_INTERFACE int QSget_rows_list (QSprob p, int num, int *rowlist, int **rowcnt, int **rowbeg, int **rowind, EGlpNum_t **rowval, EGlpNum_t **rhs, char **sense, char ***names)
QSLIB_INTERFACE int QSget_senses (QSprob p, char *senses)
QSLIB_INTERFACE int QSget_slack_array (QSprob p, EGlpNum_t *slack)
QSLIB_INTERFACE int QSget_solution (QSprob p, EGlpNum_t *value, EGlpNum_t *x, EGlpNum_t *pi, EGlpNum_t *slack, EGlpNum_t *rc)
QSLIB_INTERFACE int QSget_status (QSprob p, int *status)
QSLIB_INTERFACE int QSget_tableau_row (QSprob p, int indx, EGlpNum_t *tableaurow)
QSLIB_INTERFACE int QSget_x_array (QSprob p, EGlpNum_t *x)
QSLIB_INTERFACE void QSline_reader_free (QSline_reader reader)
QSLIB_INTERFACE char * QSline_reader_get (QSline_reader reader, char *s, int size)
QSLIB_INTERFACE QSline_reader QSline_reader_new (void *fct, void *data_src)
QSLIB_INTERFACE void QSline_reader_set_error_collector (QSline_reader reader, QSerror_collector collector)
QSLIB_INTERFACE int QSload_basis (QSprob p, QSbas B)
QSLIB_INTERFACE int QSload_basis_and_row_norms_array (QSprob p, char *cstat, char *rstat, EGlpNum_t *rownorms)
QSLIB_INTERFACE int QSload_basis_array (QSprob p, char *cstat, char *rstat)
QSLIB_INTERFACE QSprob QSload_prob (const char *probname, int ncols, int nrows, int *cmatcnt, int *cmatbeg, int *cmatind, EGlpNum_t *cmatval, int objsense, EGlpNum_t *obj, EGlpNum_t *rhs, char *sense, EGlpNum_t *lower, EGlpNum_t *upper, const char **colnames, const char **rownames)
QSLIB_INTERFACE int QSnew_col (QSprob p, const EGlpNum_t obj, const EGlpNum_t lower, const EGlpNum_t upper, const char *name)
QSLIB_INTERFACE int QSnew_row (QSprob p, const EGlpNum_t rhs, int sense, const char *name)
QSLIB_INTERFACE int QSopt_dual (QSprob p, int *status)
QSLIB_INTERFACE int QSopt_pivotin_col (QSprob p, int ccnt, int *clist)
QSLIB_INTERFACE int QSopt_pivotin_row (QSprob p, int rcnt, int *rlist)
QSLIB_INTERFACE int QSopt_primal (QSprob p, int *status)
QSLIB_INTERFACE int QSopt_strongbranch (QSprob p, int ncand, int *candidatelist, EGlpNum_t *xlist, EGlpNum_t *down_vals, EGlpNum_t *up_vals, int iterations, EGlpNum_t objbound)
QSLIB_INTERFACE int QSread_and_load_basis (QSprob p, const char *filename)
QSLIB_INTERFACE QSbas QSread_basis (QSprob p, const char *filename)
QSLIB_INTERFACE QSprob QSread_prob (const char *filename, const char *filetype)
QSLIB_INTERFACE int QSreport_prob (QSprob p, const char *filetype, QSerror_collector c)
QSLIB_INTERFACE int QSset_param (QSprob p, int whichparam, int newvalue)
QSLIB_INTERFACE int QSset_param_EGlpNum (QSprob p, int whichparam, EGlpNum_t newvalue)
QSLIB_INTERFACE void QSset_precision (const unsigned prec)
QSLIB_INTERFACE void QSset_reporter (QSprob prob, int iterskip, void *fct, void *dest)
QSLIB_INTERFACE void QSstart (void)
QSLIB_INTERFACE int QStest_row_norms (QSprob p)
QSLIB_INTERFACE char * QSversion (void)
QSLIB_INTERFACE int QSwrite_basis (QSprob p, QSbas B, const char *filename)
QSLIB_INTERFACE int QSwrite_prob (QSprob p, const char *filename, const char *filetype)
QSLIB_INTERFACE int QSwrite_prob_file (QSprob p, FILE *file, const char *filetype)


Define Documentation

#define QSLIB_INTERFACE   extern

Definition at line 39 of file qsopt.h.


Typedef Documentation

typedef struct qsbasis* QSbas

Definition at line 47 of file qsopt.h.

typedef struct qserror_collector* QSerror_collector

Definition at line 256 of file qsopt.h.

typedef struct qserror_memory* QSerror_memory

Definition at line 257 of file qsopt.h.

typedef struct qsformat_error* QSformat_error

Definition at line 255 of file qsopt.h.

typedef struct qsline_reader* QSline_reader

Definition at line 254 of file qsopt.h.

typedef struct qsdata* QSprob

Definition at line 46 of file qsopt.h.


Function Documentation

QSLIB_INTERFACE int QSadd_col ( QSprob  p,
int  cnt,
int *  cmatind,
EGlpNum_t *  cmatval,
EGlpNum_t  obj,
EGlpNum_t  lower,
EGlpNum_t  upper,
const char *  name 
)

QSLIB_INTERFACE int QSadd_cols ( QSprob  p,
int  num,
int *  cmatcnt,
int *  cmatbeg,
int *  cmatind,
EGlpNum_t *  cmatval,
EGlpNum_t *  obj,
EGlpNum_t *  lower,
EGlpNum_t *  upper,
const char **  names 
)

QSLIB_INTERFACE int QSadd_ranged_row ( QSprob  p,
int  cnt,
int *  rmatind,
const EGlpNum_t *  rmatval,
const EGlpNum_t *  rhs,
int  sense,
const EGlpNum_t *  range,
const char *  name 
)

QSLIB_INTERFACE int QSadd_ranged_rows ( QSprob  p,
int  num,
int *  rmatcnt,
int *  rmatbeg,
int *  rmatind,
const EGlpNum_t *  rmatval,
const EGlpNum_t *  rhs,
char *  sense,
const EGlpNum_t *  range,
const char **  names 
)

QSLIB_INTERFACE int QSadd_row ( QSprob  p,
int  cnt,
int *  rmatind,
const EGlpNum_t *  rmatval,
const EGlpNum_t *  rhs,
int  sense,
const char *  name 
)

QSLIB_INTERFACE int QSadd_rows ( QSprob  p,
int  num,
int *  rmatcnt,
int *  rmatbeg,
int *  rmatind,
const EGlpNum_t *  rmatval,
const EGlpNum_t *  rhs,
char *  sense,
const char **  names 
)

QSLIB_INTERFACE int QSchange_bound ( QSprob  p,
int  indx,
int  lu,
const EGlpNum_t  bound 
)

QSLIB_INTERFACE int QSchange_bounds ( QSprob  p,
int  num,
int *  collist,
char *  lu,
const EGlpNum_t *  bounds 
)

QSLIB_INTERFACE int QSchange_coef ( QSprob  p,
int  rowindex,
int  colindex,
EGlpNum_t  coef 
)

QSLIB_INTERFACE int QSchange_objcoef ( QSprob  p,
int  indx,
EGlpNum_t  coef 
)

QSLIB_INTERFACE int QSchange_objsense ( QSprob  p,
int  newsense 
)

QSLIB_INTERFACE int QSchange_range ( QSprob  p,
int  rowindex,
EGlpNum_t  range 
)

QSLIB_INTERFACE int QSchange_rhscoef ( QSprob  p,
int  indx,
EGlpNum_t  coef 
)

QSLIB_INTERFACE int QSchange_sense ( QSprob  p,
int  rowindex,
int  sense 
)

QSLIB_INTERFACE int QSchange_senses ( QSprob  p,
int  num,
int *  rowlist,
char *  sense 
)

QSLIB_INTERFACE int QScompute_row_norms ( QSprob  p  ) 

QSLIB_INTERFACE QSprob QScopy_prob ( QSprob  p,
const char *  newname 
)

QSLIB_INTERFACE QSprob QScreate_prob ( const char *  name,
int  objsense 
)

QSLIB_INTERFACE int QSdelete_col ( QSprob  p,
int  colindex 
)

QSLIB_INTERFACE int QSdelete_cols ( QSprob  p,
int  num,
int *  dellist 
)

QSLIB_INTERFACE int QSdelete_named_column ( QSprob  p,
const char *  colname 
)

QSLIB_INTERFACE int QSdelete_named_columns_list ( QSprob  p,
int  num,
const char **  colnames 
)

QSLIB_INTERFACE int QSdelete_named_row ( QSprob  p,
const char *  rowname 
)

QSLIB_INTERFACE int QSdelete_named_rows_list ( QSprob  p,
int  num,
const char **  rownames 
)

QSLIB_INTERFACE int QSdelete_row ( QSprob  p,
int  rowindex 
)

QSLIB_INTERFACE int QSdelete_rows ( QSprob  p,
int  num,
int *  dellist 
)

QSLIB_INTERFACE int QSdelete_setcols ( QSprob  p,
int *  flags 
)

QSLIB_INTERFACE int QSdelete_setrows ( QSprob  p,
int *  flags 
)

QSLIB_INTERFACE void 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 precision numbers

QSLIB_INTERFACE void QSerror_collector_free ( QSerror_collector  c  ) 

Definition at line 3677 of file qsopt.c.

References ILLerror_collector_free().

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE QSerror_collector QSerror_collector_new ( void *  fct,
void *  dest 
)

Definition at line 3662 of file qsopt.c.

References check_pointer(), and ILLerror_collector_new().

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE const char* QSerror_get_desc ( QSformat_error  error  ) 

Definition at line 3824 of file qsopt.c.

References check_pointer(), and qsformat_error::desc.

Referenced by add_error(), and ILLformat_error_print().

Here is the call graph for this function:

QSLIB_INTERFACE const char* QSerror_get_line ( QSformat_error  error  ) 

Definition at line 3845 of file qsopt.c.

References check_pointer(), and qsformat_error::theLine.

Referenced by add_error(), and ILLformat_error_print().

Here is the call graph for this function:

QSLIB_INTERFACE int QSerror_get_line_number ( QSformat_error  error  ) 

Definition at line 3831 of file qsopt.c.

References check_pointer(), and qsformat_error::lineNumber.

Referenced by add_error(), and ILLformat_error_print().

Here is the call graph for this function:

QSLIB_INTERFACE int QSerror_get_pos ( QSformat_error  error  ) 

Definition at line 3838 of file qsopt.c.

References qsformat_error::at, and check_pointer().

Referenced by add_error().

Here is the call graph for this function:

QSLIB_INTERFACE int QSerror_get_type ( QSformat_error  error  ) 

Definition at line 3817 of file qsopt.c.

References check_pointer(), and qsformat_error::type.

Referenced by add_error().

Here is the call graph for this function:

QSLIB_INTERFACE QSerror_collector QSerror_memory_collector_new ( QSerror_memory  mem  ) 

Definition at line 3671 of file qsopt.c.

References check_pointer(), and ILLerror_memory_collector_new().

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE QSerror_memory QSerror_memory_create ( int  takeErrorLines  ) 

Definition at line 3869 of file qsopt.c.

References ILLerror_memory_create().

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE void QSerror_memory_free ( QSerror_memory  mem  ) 

Definition at line 3875 of file qsopt.c.

References ILLerror_memory_free(), and NULL.

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE QSformat_error QSerror_memory_get_last_error ( QSerror_memory  mem  ) 

Definition at line 3907 of file qsopt.c.

References check_pointer(), and qserror_memory::error_list.

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE int QSerror_memory_get_nerrors ( QSerror_memory  mem  ) 

Definition at line 3884 of file qsopt.c.

References check_pointer(), and qserror_memory::nerror.

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE int QSerror_memory_get_nof ( QSerror_memory  mem,
int  error_type 
)

Definition at line 3891 of file qsopt.c.

References check_pointer(), qserror_memory::has_error, ILL_REPRT, and QS_INPUT_NERROR.

Here is the call graph for this function:

QSLIB_INTERFACE QSformat_error QSerror_memory_get_prev_error ( QSformat_error  e  ) 

Definition at line 3914 of file qsopt.c.

References check_pointer(), qsformat_error::next, and NULL.

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE void QSerror_print ( FILE *  f,
QSformat_error  error 
)

Definition at line 3852 of file qsopt.c.

References check_pointer(), ILLformat_error_print(), and NULL.

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE const char* QSformat_error_type_string ( int  tp  ) 

Definition at line 3785 of file 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.

Referenced by add_error(), and ILLformat_error_print().

QSLIB_INTERFACE void QSfree ( void *  ptr  ) 

QSLIB_INTERFACE void QSfree_basis ( QSbas  B  ) 

QSLIB_INTERFACE void QSfree_prob ( QSprob  p  ) 

QSLIB_INTERFACE QSbas QSget_basis ( QSprob  p  ) 

QSLIB_INTERFACE int QSget_basis_and_row_norms_array ( QSprob  p,
char *  cstat,
char *  rstat,
EGlpNum_t *  rownorms 
)

QSLIB_INTERFACE int QSget_basis_array ( QSprob  p,
char *  cstat,
char *  rstat 
)

QSLIB_INTERFACE int QSget_basis_order ( QSprob  p,
int *  basorder 
)

QSLIB_INTERFACE int QSget_binv_row ( QSprob  p,
int  indx,
EGlpNum_t *  binvrow 
)

QSLIB_INTERFACE int QSget_bound ( QSprob  p,
int  colindex,
int  lu,
EGlpNum_t *  bound 
)

QSLIB_INTERFACE int QSget_bounds ( QSprob  p,
EGlpNum_t *  lower,
EGlpNum_t *  upper 
)

QSLIB_INTERFACE int QSget_bounds_list ( QSprob  p,
int  num,
int *  collist,
EGlpNum_t *  lb,
EGlpNum_t *  ub 
)

QSLIB_INTERFACE int QSget_coef ( QSprob  p,
int  rowindex,
int  colindex,
EGlpNum_t *  coef 
)

QSLIB_INTERFACE int QSget_colcount ( QSprob  p  ) 

QSLIB_INTERFACE int QSget_colnames ( QSprob  p,
char **  colnames 
)

QSLIB_INTERFACE int QSget_column_index ( QSprob  p,
const char *  name,
int *  colindex 
)

QSLIB_INTERFACE int QSget_columns ( QSprob  p,
int **  colcnt,
int **  colbeg,
int **  colind,
EGlpNum_t **  colval,
EGlpNum_t **  obj,
EGlpNum_t **  lower,
EGlpNum_t **  upper,
char ***  names 
)

QSLIB_INTERFACE int QSget_columns_list ( QSprob  p,
int  num,
int *  collist,
int **  colcnt,
int **  colbeg,
int **  colind,
EGlpNum_t **  colval,
EGlpNum_t **  obj,
EGlpNum_t **  lower,
EGlpNum_t **  upper,
char ***  names 
)

QSLIB_INTERFACE int QSget_infeas_array ( QSprob  p,
EGlpNum_t *  pi 
)

QSLIB_INTERFACE int QSget_intcount ( QSprob  p,
int *  count 
)

QSLIB_INTERFACE int QSget_intflags ( QSprob  p,
int *  intflags 
)

QSLIB_INTERFACE int QSget_itcnt ( QSprob  p,
int *  pI_iter,
int *  pII_iter,
int *  dI_iter,
int *  dII_iter,
int *  tot_iter 
)

QSLIB_INTERFACE int QSget_named_pi ( QSprob  p,
const char *  rowname,
EGlpNum_t *  val 
)

QSLIB_INTERFACE int QSget_named_rc ( QSprob  p,
const char *  colname,
EGlpNum_t *  val 
)

QSLIB_INTERFACE int QSget_named_slack ( QSprob  p,
const char *  rowname,
EGlpNum_t *  val 
)

QSLIB_INTERFACE int QSget_named_x ( QSprob  p,
const char *  colname,
EGlpNum_t *  val 
)

QSLIB_INTERFACE int QSget_nzcount ( QSprob  p  ) 

QSLIB_INTERFACE int QSget_obj ( QSprob  p,
EGlpNum_t *  obj 
)

QSLIB_INTERFACE int QSget_obj_list ( QSprob  p,
int  num,
int *  collist,
EGlpNum_t *  obj 
)

QSLIB_INTERFACE char* QSget_objname ( QSprob  p  ) 

QSLIB_INTERFACE int QSget_objsense ( QSprob  p,
int *  newsense 
)

QSLIB_INTERFACE int QSget_objval ( QSprob  p,
EGlpNum_t *  value 
)

QSLIB_INTERFACE int QSget_param ( QSprob  p,
int  whichparam,
int *  value 
)

QSLIB_INTERFACE int QSget_param_EGlpNum ( QSprob  p,
int  whichparam,
EGlpNum_t *  value 
)

QSLIB_INTERFACE int QSget_pi_array ( QSprob  p,
EGlpNum_t *  pi 
)

QSLIB_INTERFACE QSprob QSget_prob ( QSline_reader  reader,
const char *  probname,
const char *  filetype 
)

Definition at line 3683 of file qsopt.c.

References ILL_CHECKnull, ILL_CLEANUP, ILL_FAILfalse, ILL_IFFREE, ILL_UTIL_STR, ILLread(), ILLsimplex_load_lpinfo(), qsdata::lp, qsdata::name, NULL, ILLlpdata::probname, QSfree_prob(), and qsdata::qslp.

Referenced by QSread_prob(), and reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE char* QSget_probname ( QSprob  p  ) 

QSLIB_INTERFACE int QSget_ranged_rows ( QSprob  p,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
EGlpNum_t **  rowval,
EGlpNum_t **  rhs,
char **  sense,
EGlpNum_t **  range,
char ***  names 
)

QSLIB_INTERFACE int QSget_ranged_rows_list ( QSprob  p,
int  num,
int *  rowlist,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
EGlpNum_t **  rowval,
EGlpNum_t **  rhs,
char **  sense,
EGlpNum_t **  range,
char ***  names 
)

QSLIB_INTERFACE int QSget_rc_array ( QSprob  p,
EGlpNum_t *  rc 
)

QSLIB_INTERFACE int QSget_rhs ( QSprob  p,
EGlpNum_t *  rhs 
)

QSLIB_INTERFACE int QSget_row_index ( QSprob  p,
const char *  name,
int *  rowindex 
)

QSLIB_INTERFACE int QSget_rowcount ( QSprob  p  ) 

QSLIB_INTERFACE int QSget_rownames ( QSprob  p,
char **  rownames 
)

QSLIB_INTERFACE int QSget_rows ( QSprob  p,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
EGlpNum_t **  rowval,
EGlpNum_t **  rhs,
char **  sense,
char ***  names 
)

QSLIB_INTERFACE int QSget_rows_list ( QSprob  p,
int  num,
int *  rowlist,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
EGlpNum_t **  rowval,
EGlpNum_t **  rhs,
char **  sense,
char ***  names 
)

QSLIB_INTERFACE int QSget_senses ( QSprob  p,
char *  senses 
)

QSLIB_INTERFACE int QSget_slack_array ( QSprob  p,
EGlpNum_t *  slack 
)

QSLIB_INTERFACE int QSget_solution ( QSprob  p,
EGlpNum_t *  value,
EGlpNum_t *  x,
EGlpNum_t *  pi,
EGlpNum_t *  slack,
EGlpNum_t *  rc 
)

QSLIB_INTERFACE int QSget_status ( QSprob  p,
int *  status 
)

QSLIB_INTERFACE int QSget_tableau_row ( QSprob  p,
int  indx,
EGlpNum_t *  tableaurow 
)

QSLIB_INTERFACE int QSget_x_array ( QSprob  p,
EGlpNum_t *  x 
)

QSLIB_INTERFACE void QSline_reader_free ( QSline_reader  reader  ) 

Definition at line 3645 of file qsopt.c.

References ILLline_reader_free().

Referenced by QSread_prob(), and reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE char* QSline_reader_get ( QSline_reader  reader,
char *  s,
int  size 
)

Definition at line 3651 of file qsopt.c.

References check_pointer(), and ILLline_reader_get.

Here is the call graph for this function:

QSLIB_INTERFACE QSline_reader QSline_reader_new ( void *  fct,
void *  data_src 
)

Definition at line 3627 of file qsopt.c.

References check_pointer(), and ILLline_reader_new().

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE void QSline_reader_set_error_collector ( QSline_reader  reader,
QSerror_collector  collector 
)

Definition at line 3636 of file qsopt.c.

References check_pointer(), and qsline_reader::error_collector.

Referenced by reader_main().

Here is the call graph for this function:

QSLIB_INTERFACE int QSload_basis ( QSprob  p,
QSbas  B 
)

QSLIB_INTERFACE int QSload_basis_and_row_norms_array ( QSprob  p,
char *  cstat,
char *  rstat,
EGlpNum_t *  rownorms 
)

QSLIB_INTERFACE int QSload_basis_array ( QSprob  p,
char *  cstat,
char *  rstat 
)

QSLIB_INTERFACE QSprob QSload_prob ( const char *  probname,
int  ncols,
int  nrows,
int *  cmatcnt,
int *  cmatbeg,
int *  cmatind,
EGlpNum_t *  cmatval,
int  objsense,
EGlpNum_t *  obj,
EGlpNum_t *  rhs,
char *  sense,
EGlpNum_t *  lower,
EGlpNum_t *  upper,
const char **  colnames,
const char **  rownames 
)

QSLIB_INTERFACE int QSnew_col ( QSprob  p,
const EGlpNum_t  obj,
const EGlpNum_t  lower,
const EGlpNum_t  upper,
const char *  name 
)

QSLIB_INTERFACE int QSnew_row ( QSprob  p,
const EGlpNum_t  rhs,
int  sense,
const char *  name 
)

QSLIB_INTERFACE int QSopt_dual ( QSprob  p,
int *  status 
)

QSLIB_INTERFACE int QSopt_pivotin_col ( QSprob  p,
int  ccnt,
int *  clist 
)

QSLIB_INTERFACE int QSopt_pivotin_row ( QSprob  p,
int  rcnt,
int *  rlist 
)

QSLIB_INTERFACE int QSopt_primal ( QSprob  p,
int *  status 
)

QSLIB_INTERFACE int QSopt_strongbranch ( QSprob  p,
int  ncand,
int *  candidatelist,
EGlpNum_t *  xlist,
EGlpNum_t *  down_vals,
EGlpNum_t *  up_vals,
int  iterations,
EGlpNum_t  objbound 
)

QSLIB_INTERFACE int QSread_and_load_basis ( QSprob  p,
const char *  filename 
)

QSLIB_INTERFACE QSbas QSread_basis ( QSprob  p,
const char *  filename 
)

QSLIB_INTERFACE QSprob QSread_prob ( const char *  filename,
const char *  filetype 
)

QSLIB_INTERFACE int QSreport_prob ( QSprob  p,
const char *  filetype,
QSerror_collector  c 
)

QSLIB_INTERFACE int QSset_param ( QSprob  p,
int  whichparam,
int  newvalue 
)

QSLIB_INTERFACE int QSset_param_EGlpNum ( QSprob  p,
int  whichparam,
EGlpNum_t  newvalue 
)

QSLIB_INTERFACE void QSset_precision ( const unsigned  prec  ) 

QSLIB_INTERFACE void QSset_reporter ( QSprob  prob,
int  iterskip,
void *  fct,
void *  dest 
)

Definition at line 3762 of file qsopt.c.

References check_pointer(), check_qsdata_pointer(), ILL_FAILtrue, ILLstring_reporter_init(), lpinfo::iterskip, qsdata::lp, NULL, qsdata::qslp, and ILLlpdata::reporter.

Referenced by solver_main().

Here is the call graph for this function:

QSLIB_INTERFACE void QSstart ( void   ) 

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

QSLIB_INTERFACE int QStest_row_norms ( QSprob  p  ) 

QSLIB_INTERFACE char* QSversion ( void   ) 

Definition at line 3747 of file qsopt.c.

References PACKAGE_STRING.

Referenced by solver_main(), and usage().

QSLIB_INTERFACE int QSwrite_basis ( QSprob  p,
QSbas  B,
const char *  filename 
)

QSLIB_INTERFACE int QSwrite_prob ( QSprob  p,
const char *  filename,
const char *  filetype 
)

QSLIB_INTERFACE int QSwrite_prob_file ( QSprob  p,
FILE *  file,
const char *  filetype 
)


Generated on Thu Mar 29 09:46:30 2012 for QSopt_ex by  doxygen 1.4.7