ldbl_qsopt.c File Reference

#include "qs_config.h"
#include "ldbl_iqsutil.h"
#include "ldbl_lpdata.h"
#include "ldbl_lpdefs.h"
#include "ldbl_simplex.h"
#include "ldbl_price.h"
#include "ldbl_qstruct.h"
#include "ldbl_qsopt.h"
#include "ldbl_lib.h"
#include "ldbl_mps.h"
#include "ldbl_lp.h"

Include dependency graph for ldbl_qsopt.c:

Go to the source code of this file.

Functions

static void ldbl_check_pointer (void *p, const char *fct, const char *param)
static int ldbl_check_qsdata_pointer (ldbl_QSdata *p)
static int ldbl_formatIsMps (const char *filetype, int *isMps)
static void ldbl_free_cache (ldbl_QSdata *p)
static int ldbl_grab_basis (ldbl_QSdata *p)
int ldbl_grab_cache (ldbl_QSdata *p, int status)
static int ldbl_illbasis_to_qsbasis (ldbl_ILLlp_basis *B, QSbasis *qB)
static void ldbl_init_basis (QSbasis *B)
static int ldbl_opt_work (ldbl_QSdata *p, int *status, int primal_or_dual)
ldbl_QSLIB_INTERFACE int ldbl_QSadd_col (ldbl_QSdata *p, int cnt, int *cmatind, long double *cmatval, long double obj, long double lower, long double upper, const char *name)
ldbl_QSLIB_INTERFACE int ldbl_QSadd_cols (ldbl_QSdata *p, int num, int *cmatcnt, int *cmatbeg, int *cmatind, long double *cmatval, long double *obj, long double *lower, long double *upper, const char **names)
ldbl_QSLIB_INTERFACE int ldbl_QSadd_ranged_row (ldbl_QSdata *p, int cnt, int *rmatind, const long double *rmatval, const long double *rhs, int sense, const long double *range, const char *name)
ldbl_QSLIB_INTERFACE int ldbl_QSadd_ranged_rows (ldbl_QSdata *p, int num, int *rmatcnt, int *rmatbeg, int *rmatind, const long double *rmatval, const long double *rhs, char *sense, const long double *range, const char **names)
ldbl_QSLIB_INTERFACE int ldbl_QSadd_row (ldbl_QSdata *p, int cnt, int *rmatind, const long double *rmatval, const long double *rhs, int sense, const char *name)
ldbl_QSLIB_INTERFACE int ldbl_QSadd_rows (ldbl_QSdata *p, int num, int *rmatcnt, int *rmatbeg, int *rmatind, const long double *rmatval, const long double *rhs, char *sense, const char **names)
static int ldbl_qsbasis_to_illbasis (QSbasis *qB, ldbl_ILLlp_basis *B)
ldbl_QSLIB_INTERFACE int ldbl_QSchange_bound (ldbl_QSdata *p, int indx, int lu, const long double bound)
ldbl_QSLIB_INTERFACE int ldbl_QSchange_bounds (ldbl_QSdata *p, int num, int *collist, char *lu, const long double *bounds)
ldbl_QSLIB_INTERFACE int ldbl_QSchange_coef (ldbl_QSdata *p, int rowindex, int colindex, long double coef)
ldbl_QSLIB_INTERFACE int ldbl_QSchange_objcoef (ldbl_QSdata *p, int indx, long double coef)
ldbl_QSLIB_INTERFACE int ldbl_QSchange_objsense (ldbl_QSdata *p, int newsense)
ldbl_QSLIB_INTERFACE int ldbl_QSchange_range (ldbl_QSdata *p, int rowindex, long double range)
ldbl_QSLIB_INTERFACE int ldbl_QSchange_rhscoef (ldbl_QSdata *p, int indx, long double coef)
ldbl_QSLIB_INTERFACE int ldbl_QSchange_sense (ldbl_QSdata *p, int rowindex, int sense)
ldbl_QSLIB_INTERFACE int ldbl_QSchange_senses (ldbl_QSdata *p, int num, int *rowlist, char *sense)
ldbl_QSLIB_INTERFACE int ldbl_QScompute_row_norms (ldbl_QSdata *p)
ldbl_QSLIB_INTERFACE ldbl_QSdataldbl_QScopy_prob (ldbl_QSdata *p, const char *newname)
ldbl_QSLIB_INTERFACE ldbl_QSdataldbl_QScreate_prob (const char *name, int objsense)
ldbl_QSLIB_INTERFACE int ldbl_QSdelete_col (ldbl_QSdata *p, int colindex)
ldbl_QSLIB_INTERFACE int ldbl_QSdelete_cols (ldbl_QSdata *p, int num, int *dellist)
ldbl_QSLIB_INTERFACE int ldbl_QSdelete_named_column (ldbl_QSdata *p, const char *colname)
ldbl_QSLIB_INTERFACE int ldbl_QSdelete_named_columns_list (ldbl_QSdata *p, int num, const char **colnames)
ldbl_QSLIB_INTERFACE int ldbl_QSdelete_named_row (ldbl_QSdata *p, const char *rowname)
ldbl_QSLIB_INTERFACE int ldbl_QSdelete_named_rows_list (ldbl_QSdata *p, int num, const char **rownames)
ldbl_QSLIB_INTERFACE int ldbl_QSdelete_row (ldbl_QSdata *p, int rowindex)
ldbl_QSLIB_INTERFACE int ldbl_QSdelete_rows (ldbl_QSdata *p, int num, int *dellist)
ldbl_QSLIB_INTERFACE int ldbl_QSdelete_setcols (ldbl_QSdata *p, int *flags)
ldbl_QSLIB_INTERFACE int ldbl_QSdelete_setrows (ldbl_QSdata *p, int *flags)
ldbl_QSLIB_INTERFACE void ldbl_QSerror_collector_free (ldbl_QSerror_collector c)
ldbl_QSLIB_INTERFACE ldbl_QSerror_collector ldbl_QSerror_collector_new (void *fct, void *dest)
ldbl_QSLIB_INTERFACE const
char * 
ldbl_QSerror_get_desc (ldbl_QSformat_error error)
ldbl_QSLIB_INTERFACE const
char * 
ldbl_QSerror_get_line (ldbl_QSformat_error error)
ldbl_QSLIB_INTERFACE int ldbl_QSerror_get_line_number (ldbl_QSformat_error error)
ldbl_QSLIB_INTERFACE int ldbl_QSerror_get_pos (ldbl_QSformat_error error)
ldbl_QSLIB_INTERFACE int ldbl_QSerror_get_type (ldbl_QSformat_error error)
ldbl_QSLIB_INTERFACE ldbl_QSerror_collector ldbl_QSerror_memory_collector_new (ldbl_QSerror_memory mem)
ldbl_QSLIB_INTERFACE ldbl_QSerror_memory ldbl_QSerror_memory_create (int takeErrorLines)
ldbl_QSLIB_INTERFACE void ldbl_QSerror_memory_free (ldbl_QSerror_memory mem)
ldbl_QSLIB_INTERFACE ldbl_QSformat_error ldbl_QSerror_memory_get_last_error (ldbl_QSerror_memory mem)
ldbl_QSLIB_INTERFACE int ldbl_QSerror_memory_get_nerrors (ldbl_QSerror_memory mem)
ldbl_QSLIB_INTERFACE int ldbl_QSerror_memory_get_nof (ldbl_QSerror_memory mem, int type)
ldbl_QSLIB_INTERFACE ldbl_QSformat_error ldbl_QSerror_memory_get_prev_error (ldbl_QSformat_error e)
ldbl_QSLIB_INTERFACE void ldbl_QSerror_print (FILE *f, ldbl_QSformat_error error)
ldbl_QSLIB_INTERFACE const
char * 
ldbl_QSformat_error_type_string (int tp)
ldbl_QSLIB_INTERFACE void ldbl_QSfree (void *ptr)
ldbl_QSLIB_INTERFACE void ldbl_QSfree_basis (QSbasis *B)
ldbl_QSLIB_INTERFACE void ldbl_QSfree_prob (ldbl_QSdata *p)
ldbl_QSLIB_INTERFACE QSbasisldbl_QSget_basis (ldbl_QSdata *p)
ldbl_QSLIB_INTERFACE int ldbl_QSget_basis_and_row_norms_array (ldbl_QSdata *p, char *cstat, char *rstat, long double *rownorms)
ldbl_QSLIB_INTERFACE int ldbl_QSget_basis_array (ldbl_QSdata *p, char *cstat, char *rstat)
ldbl_QSLIB_INTERFACE int ldbl_QSget_basis_order (ldbl_QSdata *p, int *basorder)
ldbl_QSLIB_INTERFACE int ldbl_QSget_binv_row (ldbl_QSdata *p, int indx, long double *binvrow)
ldbl_QSLIB_INTERFACE int ldbl_QSget_bound (ldbl_QSdata *p, int colindex, int lu, long double *bound)
ldbl_QSLIB_INTERFACE int ldbl_QSget_bounds (ldbl_QSdata *p, long double *lower, long double *upper)
ldbl_QSLIB_INTERFACE int ldbl_QSget_bounds_list (ldbl_QSdata *p, int num, int *collist, long double *lb, long double *ub)
ldbl_QSLIB_INTERFACE int ldbl_QSget_coef (ldbl_QSdata *p, int rowindex, int colindex, long double *coef)
ldbl_QSLIB_INTERFACE int ldbl_QSget_colcount (ldbl_QSdata *p)
ldbl_QSLIB_INTERFACE int ldbl_QSget_colnames (ldbl_QSdata *p, char **colnames)
ldbl_QSLIB_INTERFACE int ldbl_QSget_column_index (ldbl_QSdata *p, const char *name, int *colindex)
ldbl_QSLIB_INTERFACE int ldbl_QSget_columns (ldbl_QSdata *p, int **colcnt, int **colbeg, int **colind, long double **colval, long double **obj, long double **lower, long double **upper, char ***names)
ldbl_QSLIB_INTERFACE int ldbl_QSget_columns_list (ldbl_QSdata *p, int num, int *collist, int **colcnt, int **colbeg, int **colind, long double **colval, long double **obj, long double **lower, long double **upper, char ***names)
ldbl_QSLIB_INTERFACE int ldbl_QSget_infeas_array (ldbl_QSdata *p, long double *pi)
ldbl_QSLIB_INTERFACE int ldbl_QSget_intcount (ldbl_QSdata *p, int *count)
ldbl_QSLIB_INTERFACE int ldbl_QSget_intflags (ldbl_QSdata *p, int *intflags)
ldbl_QSLIB_INTERFACE int ldbl_QSget_itcnt (ldbl_QSdata *p, int *pI_iter, int *pII_iter, int *dI_iter, int *dII_iter, int *tot_iter)
ldbl_QSLIB_INTERFACE int ldbl_QSget_named_pi (ldbl_QSdata *p, const char *rowname, long double *val)
ldbl_QSLIB_INTERFACE int ldbl_QSget_named_rc (ldbl_QSdata *p, const char *colname, long double *val)
ldbl_QSLIB_INTERFACE int ldbl_QSget_named_slack (ldbl_QSdata *p, const char *rowname, long double *val)
ldbl_QSLIB_INTERFACE int ldbl_QSget_named_x (ldbl_QSdata *p, const char *colname, long double *val)
ldbl_QSLIB_INTERFACE int ldbl_QSget_nzcount (ldbl_QSdata *p)
ldbl_QSLIB_INTERFACE int ldbl_QSget_obj (ldbl_QSdata *p, long double *obj)
ldbl_QSLIB_INTERFACE int ldbl_QSget_obj_list (ldbl_QSprob p, int num, int *collist, long double *obj)
ldbl_QSLIB_INTERFACE char * ldbl_QSget_objname (ldbl_QSdata *p)
ldbl_QSLIB_INTERFACE int ldbl_QSget_objsense (ldbl_QSdata *p, int *objsense)
ldbl_QSLIB_INTERFACE int ldbl_QSget_objval (ldbl_QSdata *p, long double *value)
ldbl_QSLIB_INTERFACE int ldbl_QSget_param (ldbl_QSdata *p, int whichparam, int *value)
ldbl_QSLIB_INTERFACE int ldbl_QSget_param_EGlpNum (ldbl_QSdata *p, int whichparam, long double *value)
ldbl_QSLIB_INTERFACE int ldbl_QSget_pi_array (ldbl_QSdata *p, long double *pi)
ldbl_QSLIB_INTERFACE ldbl_QSdataldbl_QSget_prob (ldbl_QSline_reader reader, const char *probname, const char *filetype)
ldbl_QSLIB_INTERFACE char * ldbl_QSget_probname (ldbl_QSdata *p)
ldbl_QSLIB_INTERFACE int ldbl_QSget_ranged_rows (ldbl_QSdata *p, int **rowcnt, int **rowbeg, int **rowind, long double **rowval, long double **rhs, char **sense, long double **range, char ***names)
ldbl_QSLIB_INTERFACE int ldbl_QSget_ranged_rows_list (ldbl_QSdata *p, int num, int *rowlist, int **rowcnt, int **rowbeg, int **rowind, long double **rowval, long double **rhs, char **sense, long double **range, char ***names)
ldbl_QSLIB_INTERFACE int ldbl_QSget_rc_array (ldbl_QSdata *p, long double *rc)
ldbl_QSLIB_INTERFACE int ldbl_QSget_rhs (ldbl_QSdata *p, long double *rhs)
ldbl_QSLIB_INTERFACE int ldbl_QSget_row_index (ldbl_QSdata *p, const char *name, int *rowindex)
ldbl_QSLIB_INTERFACE int ldbl_QSget_rowcount (ldbl_QSdata *p)
ldbl_QSLIB_INTERFACE int ldbl_QSget_rownames (ldbl_QSdata *p, char **rownames)
ldbl_QSLIB_INTERFACE int ldbl_QSget_rows (ldbl_QSdata *p, int **rowcnt, int **rowbeg, int **rowind, long double **rowval, long double **rhs, char **sense, char ***names)
ldbl_QSLIB_INTERFACE int ldbl_QSget_rows_list (ldbl_QSdata *p, int num, int *rowlist, int **rowcnt, int **rowbeg, int **rowind, long double **rowval, long double **rhs, char **sense, char ***names)
ldbl_QSLIB_INTERFACE int ldbl_QSget_senses (ldbl_QSdata *p, char *senses)
ldbl_QSLIB_INTERFACE int ldbl_QSget_slack_array (ldbl_QSdata *p, long double *slack)
ldbl_QSLIB_INTERFACE int ldbl_QSget_solution (ldbl_QSdata *p, long double *value, long double *x, long double *pi, long double *slack, long double *rc)
ldbl_QSLIB_INTERFACE int ldbl_QSget_status (ldbl_QSdata *p, int *status)
ldbl_QSLIB_INTERFACE int ldbl_QSget_tableau_row (ldbl_QSdata *p, int indx, long double *tableaurow)
ldbl_QSLIB_INTERFACE int ldbl_QSget_x_array (ldbl_QSdata *p, long double *x)
ldbl_QSLIB_INTERFACE void ldbl_QSline_reader_free (ldbl_QSline_reader reader)
ldbl_QSLIB_INTERFACE char * ldbl_QSline_reader_get (ldbl_QSline_reader reader, char *s, int size)
ldbl_QSLIB_INTERFACE ldbl_QSline_reader ldbl_QSline_reader_new (void *fct, void *data_src)
ldbl_QSLIB_INTERFACE void ldbl_QSline_reader_set_error_collector (ldbl_QSline_reader reader, ldbl_QSerror_collector collector)
ldbl_QSLIB_INTERFACE int ldbl_QSload_basis (ldbl_QSdata *p, QSbasis *B)
ldbl_QSLIB_INTERFACE int ldbl_QSload_basis_and_row_norms_array (ldbl_QSdata *p, char *cstat, char *rstat, long double *rownorms)
ldbl_QSLIB_INTERFACE int ldbl_QSload_basis_array (ldbl_QSdata *p, char *cstat, char *rstat)
ldbl_QSLIB_INTERFACE ldbl_QSdataldbl_QSload_prob (const char *probname, int ncols, int nrows, int *cmatcnt, int *cmatbeg, int *cmatind, long double *cmatval, int objsense, long double *obj, long double *rhs, char *sense, long double *lower, long double *upper, const char **colnames, const char **rownames)
ldbl_QSLIB_INTERFACE int ldbl_QSnew_col (ldbl_QSdata *p, const long double obj, const long double lower, const long double upper, const char *name)
ldbl_QSLIB_INTERFACE int ldbl_QSnew_row (ldbl_QSdata *p, const long double rhs, int sense, const char *name)
ldbl_QSLIB_INTERFACE int ldbl_QSopt_dual (ldbl_QSdata *p, int *status)
ldbl_QSLIB_INTERFACE int ldbl_QSopt_pivotin_col (ldbl_QSdata *p, int ccnt, int *clist)
ldbl_QSLIB_INTERFACE int ldbl_QSopt_pivotin_row (ldbl_QSdata *p, int rcnt, int *rlist)
ldbl_QSLIB_INTERFACE int ldbl_QSopt_primal (ldbl_QSdata *p, int *status)
ldbl_QSLIB_INTERFACE int ldbl_QSopt_strongbranch (ldbl_QSdata *p, int ncand, int *candidatelist, long double *xlist, long double *down_vals, long double *up_vals, int iterations, long double objbound)
ldbl_QSLIB_INTERFACE int ldbl_QSread_and_load_basis (ldbl_QSdata *p, const char *filename)
ldbl_QSLIB_INTERFACE QSbasisldbl_QSread_basis (ldbl_QSdata *p, const char *filename)
ldbl_QSLIB_INTERFACE ldbl_QSdataldbl_QSread_prob (const char *filename, const char *filetype)
ldbl_QSLIB_INTERFACE int ldbl_QSreport_prob (ldbl_QSdata *p, const char *filetype, ldbl_qserror_collector *c)
ldbl_QSLIB_INTERFACE int ldbl_QSset_param (ldbl_QSdata *p, int whichparam, int newvalue)
ldbl_QSLIB_INTERFACE int ldbl_QSset_param_EGlpNum (ldbl_QSdata *p, int whichparam, long double newvalue)
void ldbl_QSset_precision (const unsigned prec)
ldbl_QSLIB_INTERFACE void ldbl_QSset_reporter (ldbl_QSprob prob, int skip, void *fct, void *dest)
ldbl_QSLIB_INTERFACE int ldbl_QStest_row_norms (ldbl_QSdata *p)
ldbl_QSLIB_INTERFACE char * ldbl_QSversion (void)
ldbl_QSLIB_INTERFACE int ldbl_QSwrite_basis (ldbl_QSdata *p, QSbasis *B, const char *filename)
ldbl_QSLIB_INTERFACE int ldbl_QSwrite_prob (ldbl_QSdata *p, const char *filename, const char *filetype)
static int ldbl_QSwrite_prob_EGioFile (ldbl_QSdata *p, EGioFile_t *out, const char *filetype)
ldbl_QSLIB_INTERFACE int ldbl_QSwrite_prob_file (ldbl_QSdata *p, FILE *out, const char *filetype)

Variables

static int TRACE = 0


Function Documentation

static void ldbl_check_pointer ( void *  p,
const char *  fct,
const char *  param 
) [static]

Definition at line 3614 of file ldbl_qsopt.c.

References NULL.

Referenced by ldbl_QSerror_collector_new(), ldbl_QSerror_get_desc(), ldbl_QSerror_get_line(), ldbl_QSerror_get_line_number(), ldbl_QSerror_get_pos(), ldbl_QSerror_get_type(), ldbl_QSerror_memory_collector_new(), ldbl_QSerror_memory_get_last_error(), ldbl_QSerror_memory_get_nerrors(), ldbl_QSerror_memory_get_nof(), ldbl_QSerror_memory_get_prev_error(), ldbl_QSerror_print(), ldbl_QSline_reader_get(), ldbl_QSline_reader_new(), ldbl_QSline_reader_set_error_collector(), and ldbl_QSset_reporter().

static int ldbl_check_qsdata_pointer ( ldbl_QSdata p  ) 

Definition at line 3570 of file ldbl_qsopt.c.

References NULL.

Referenced by ldbl_QSadd_col(), ldbl_QSadd_cols(), ldbl_QSadd_ranged_row(), ldbl_QSadd_ranged_rows(), ldbl_QSadd_row(), ldbl_QSadd_rows(), ldbl_QSchange_bound(), ldbl_QSchange_bounds(), ldbl_QSchange_coef(), ldbl_QSchange_objcoef(), ldbl_QSchange_objsense(), ldbl_QSchange_range(), ldbl_QSchange_rhscoef(), ldbl_QSchange_sense(), ldbl_QSchange_senses(), ldbl_QScompute_row_norms(), ldbl_QScopy_prob(), ldbl_QSdelete_col(), ldbl_QSdelete_cols(), ldbl_QSdelete_named_column(), ldbl_QSdelete_named_columns_list(), ldbl_QSdelete_named_row(), ldbl_QSdelete_named_rows_list(), ldbl_QSdelete_row(), ldbl_QSdelete_rows(), ldbl_QSdelete_setcols(), ldbl_QSdelete_setrows(), ldbl_QSget_basis_and_row_norms_array(), ldbl_QSget_basis_array(), ldbl_QSget_basis_order(), ldbl_QSget_binv_row(), ldbl_QSget_bound(), ldbl_QSget_bounds(), ldbl_QSget_bounds_list(), ldbl_QSget_coef(), ldbl_QSget_colcount(), ldbl_QSget_colnames(), ldbl_QSget_column_index(), ldbl_QSget_columns(), ldbl_QSget_columns_list(), ldbl_QSget_infeas_array(), ldbl_QSget_intcount(), ldbl_QSget_intflags(), ldbl_QSget_itcnt(), ldbl_QSget_named_pi(), ldbl_QSget_named_rc(), ldbl_QSget_named_slack(), ldbl_QSget_named_x(), ldbl_QSget_nzcount(), ldbl_QSget_obj(), ldbl_QSget_obj_list(), ldbl_QSget_objname(), ldbl_QSget_objsense(), ldbl_QSget_objval(), ldbl_QSget_param(), ldbl_QSget_param_EGlpNum(), ldbl_QSget_pi_array(), ldbl_QSget_probname(), ldbl_QSget_ranged_rows(), ldbl_QSget_ranged_rows_list(), ldbl_QSget_rc_array(), ldbl_QSget_rhs(), ldbl_QSget_row_index(), ldbl_QSget_rowcount(), ldbl_QSget_rownames(), ldbl_QSget_rows(), ldbl_QSget_rows_list(), ldbl_QSget_senses(), ldbl_QSget_slack_array(), ldbl_QSget_solution(), ldbl_QSget_status(), ldbl_QSget_tableau_row(), ldbl_QSget_x_array(), ldbl_QSload_basis(), ldbl_QSload_basis_and_row_norms_array(), ldbl_QSload_basis_array(), ldbl_QSnew_col(), ldbl_QSnew_row(), ldbl_QSopt_dual(), ldbl_QSopt_pivotin_col(), ldbl_QSopt_pivotin_row(), ldbl_QSopt_primal(), ldbl_QSopt_strongbranch(), ldbl_QSread_and_load_basis(), ldbl_QSread_basis(), ldbl_QSset_param(), ldbl_QSset_param_EGlpNum(), ldbl_QSset_reporter(), ldbl_QStest_row_norms(), and ldbl_QSwrite_basis().

static int ldbl_formatIsMps ( const char *  filetype,
int *  isMps 
) [static]

Definition at line 3584 of file ldbl_qsopt.c.

References ILL_CLEANUP.

Referenced by ldbl_QSreport_prob().

void ldbl_free_cache ( ldbl_QSdata p  ) 

Definition at line 2163 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ILL_IFFREE, ldbl_ILLlp_cache_free(), QS_LP_MODIFIED, ldbl_qsdata::qstatus, and ldbl_ILLlp_cache::val.

Referenced by ldbl_opt_work(), ldbl_QSadd_col(), ldbl_QSadd_cols(), ldbl_QSadd_ranged_rows(), ldbl_QSadd_rows(), ldbl_QSchange_bound(), ldbl_QSchange_bounds(), ldbl_QSchange_coef(), ldbl_QSchange_objcoef(), ldbl_QSchange_objsense(), ldbl_QSchange_range(), ldbl_QSchange_rhscoef(), ldbl_QSchange_senses(), ldbl_QSdelete_cols(), ldbl_QSdelete_rows(), ldbl_QSnew_col(), ldbl_QSnew_row(), and ldbl_QSopt_strongbranch().

Here is the call graph for this function:

int ldbl_grab_basis ( ldbl_QSdata p  ) 

Definition at line 2025 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_ILLlp_basis::colnorms, ldbl_ILLlp_basis::cstat, ldbl_price_info::dII_price, ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_ILLlib_getbasis(), ldbl_ILLlib_getrownorms(), ldbl_ILLlp_basis_free(), ldbl_ILLlp_basis_init(), ldbl_qsdata::lp, ldbl_ILLlp_basis::nrows, ldbl_ILLlpdata::nrows, ldbl_ILLlp_basis::nstruct, ldbl_ILLlpdata::nstruct, ldbl_qsdata::pricing, QS_PRICE_DSTEEP, ldbl_qsdata::qslp, ldbl_ILLlp_basis::rownorms, and ldbl_ILLlp_basis::rstat.

Referenced by ldbl_opt_work(), ldbl_QScompute_row_norms(), ldbl_QSopt_pivotin_col(), and ldbl_QSopt_pivotin_row().

Here is the call graph for this function:

int ldbl_grab_cache ( ldbl_QSdata p,
int  status 
)

Definition at line 2090 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::cache, ldbl_ILLlp_basis::cstat, ILL_SAFE_MALLOC, ldbl_ILLlib_cache_solution(), ldbl_ILLlp_cache_alloc(), ldbl_ILLlp_cache_free(), ldbl_ILLlp_cache_init(), ldbl_SZERO_TOLER, ldbl_qsdata::lp, ldbl_ILLlp_cache::nrows, ldbl_ILLlpdata::nrows, ldbl_ILLlp_cache::nstruct, ldbl_ILLlpdata::nstruct, ldbl_lpinfo::O, ldbl_ILLlpdata::objsense, QS_COL_BSTAT_BASIC, QS_COL_BSTAT_LOWER, QS_COL_BSTAT_UPPER, ldbl_qsdata::qslp, ldbl_ILLlp_cache::rc, STAT_LOWER, STAT_UPPER, ldbl_ILLlpdata::structmap, ldbl_ILLlp_cache::val, VFIXED, ldbl_lpinfo::vstat, and ldbl_lpinfo::vtype.

Referenced by ldbl_opt_work().

Here is the call graph for this function:

static int ldbl_illbasis_to_qsbasis ( ldbl_ILLlp_basis B,
QSbasis qB 
)

Definition at line 1961 of file ldbl_qsopt.c.

References ldbl_ILLlp_basis::cstat, qsbasis::cstat, ILL_SAFE_MALLOC, ldbl_ILLlp_basis::nrows, qsbasis::nrows, ldbl_ILLlp_basis::nstruct, qsbasis::nstruct, ldbl_ILLlp_basis::rstat, and qsbasis::rstat.

Referenced by ldbl_QSget_basis(), and ldbl_QSread_basis().

static void ldbl_init_basis ( QSbasis B  )  [static]

Definition at line 2350 of file ldbl_qsopt.c.

References qsbasis::cstat, qsbasis::nrows, qsbasis::nstruct, and qsbasis::rstat.

Referenced by ldbl_QSget_basis(), and ldbl_QSread_basis().

static int ldbl_opt_work ( ldbl_QSdata p,
int *  status,
int  primal_or_dual 
) [static]

Definition at line 257 of file ldbl_qsopt.c.

References __QS_SB_VERB, ldbl_qsdata::basis, ldbl_lpinfo::basisid, DUAL_SIMPLEX, ldbl_qsdata::factorok, ldbl_lpinfo::fbasisid, ILL_IFFREE, ldbl_qsdata::itcnt, ldbl_free_cache(), ldbl_grab_basis(), ldbl_grab_cache(), ldbl_ILLlib_optimize(), ldbl_ILLlp_basis_free(), ldbl_ILLlp_scale(), ldbl_ILLprice_free_pricing_info(), ldbl_QScopy_prob(), ldbl_QSfree_prob(), ldbl_qsdata::lp, ldbl_ILLlpdata::nrows, ldbl_ILLlp_basis::nrows, ldbl_ILLlpdata::nstruct, ldbl_ILLlp_basis::nstruct, ldbl_qsdata::pricing, PRIMAL_SIMPLEX, QS_LP_CHANGE_PREC, QS_LP_OPTIMAL, QS_LP_UNSOLVED, ldbl_qsdata::qslp, ldbl_qsdata::qstatus, ldbl_qsdata::simplex_display, and ldbl_qsdata::simplex_scaling.

Referenced by ldbl_QSopt_dual(), and ldbl_QSopt_primal().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSadd_col ( ldbl_QSdata p,
int  cnt,
int *  cmatind,
long double *  cmatval,
long double  obj,
long double  lower,
long double  upper,
const char *  name 
)

Definition at line 906 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::factorok, ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_addcol(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSadd_cols ( ldbl_QSdata p,
int  num,
int *  cmatcnt,
int *  cmatbeg,
int *  cmatind,
long double *  cmatval,
long double *  obj,
long double *  lower,
long double *  upper,
const char **  names 
)

Definition at line 877 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::factorok, ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_addcols(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSadd_ranged_row ( ldbl_QSdata p,
int  cnt,
int *  rmatind,
const long double *  rmatval,
const long double *  rhs,
int  sense,
const long double *  range,
const char *  name 
)

Definition at line 991 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), and ldbl_QSadd_ranged_rows().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSadd_ranged_rows ( ldbl_QSdata p,
int  num,
int *  rmatcnt,
int *  rmatbeg,
int *  rmatind,
const long double *  rmatval,
const long double *  rhs,
char *  sense,
const long double *  range,
const char **  names 
)

Definition at line 954 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::factorok, ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_addrows(), ldbl_ILLlib_loadrownorms(), ldbl_qsdata::lp, ldbl_qsdata::pricing, and ldbl_ILLlp_basis::rownorms.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSadd_row ( ldbl_QSdata p,
int  cnt,
int *  rmatind,
const long double *  rmatval,
const long double *  rhs,
int  sense,
const char *  name 
)

Definition at line 1060 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), and ldbl_QSadd_rows().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSadd_rows ( ldbl_QSdata p,
int  num,
int *  rmatcnt,
int *  rmatbeg,
int *  rmatind,
const long double *  rmatval,
const long double *  rhs,
char *  sense,
const char **  names 
)

Definition at line 1024 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::factorok, ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_addrows(), ldbl_ILLlib_loadrownorms(), ldbl_qsdata::lp, ldbl_qsdata::pricing, and ldbl_ILLlp_basis::rownorms.

Here is the call graph for this function:

static int ldbl_qsbasis_to_illbasis ( QSbasis qB,
ldbl_ILLlp_basis B 
)

Definition at line 1988 of file ldbl_qsopt.c.

References qsbasis::cstat, ldbl_ILLlp_basis::cstat, ILL_CLEANUP, ILL_SAFE_MALLOC, qsbasis::nrows, ldbl_ILLlp_basis::nrows, qsbasis::nstruct, ldbl_ILLlp_basis::nstruct, QS_COL_BSTAT_BASIC, QS_ROW_BSTAT_BASIC, qsbasis::rstat, and ldbl_ILLlp_basis::rstat.

Referenced by ldbl_QSload_basis(), and ldbl_QSwrite_basis().

ldbl_QSLIB_INTERFACE int ldbl_QSchange_bound ( ldbl_QSdata p,
int  indx,
int  lu,
const long double  bound 
)

Definition at line 1563 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_chgbnd(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSchange_bounds ( ldbl_QSdata p,
int  num,
int *  collist,
char *  lu,
const long double *  bounds 
)

Definition at line 1541 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_chgbnds(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSchange_coef ( ldbl_QSdata p,
int  rowindex,
int  colindex,
long double  coef 
)

Definition at line 1480 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_chgcoef(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSchange_objcoef ( ldbl_QSdata p,
int  indx,
long double  coef 
)

Definition at line 1501 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_chgobj(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSchange_objsense ( ldbl_QSdata p,
int  newsense 
)

Definition at line 785 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLsimplex_set_bound(), ldbl_qsdata::lobjlim, ldbl_qsdata::lp, ldbl_ILLlpdata::objsense, QS_MAX, QS_MIN, ldbl_qsdata::qslp, and ldbl_qsdata::uobjlim.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSchange_range ( ldbl_QSdata p,
int  rowindex,
long double  range 
)

Definition at line 1420 of file ldbl_qsopt.c.

References ldbl_qsdata::factorok, ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_chgrange(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSchange_rhscoef ( ldbl_QSdata p,
int  indx,
long double  coef 
)

Definition at line 1521 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_chgrhs(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSchange_sense ( ldbl_QSdata p,
int  rowindex,
int  sense 
)

Definition at line 1441 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), and ldbl_QSchange_senses().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSchange_senses ( ldbl_QSdata p,
int  num,
int *  rowlist,
char *  sense 
)

Definition at line 1399 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_chgsense(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QScompute_row_norms ( ldbl_QSdata p  ) 

Definition at line 2262 of file ldbl_qsopt.c.

References ldbl_price_info::dII_price, ldbl_check_qsdata_pointer(), ldbl_grab_basis(), ldbl_ILLlib_recompute_rownorms(), ldbl_qsdata::lp, ldbl_qsdata::pricing, and QS_PRICE_DSTEEP.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSdata* ldbl_QScopy_prob ( ldbl_QSdata p,
const char *  newname 
)

Definition at line 687 of file ldbl_qsopt.c.

References ldbl_ILLlpdata::A, ldbl_ILLlpdata::colnames, ldbl_qsdata::factorok, ldbl_price_info::h, ldbl_price_info::htrigger, ILL_namebufsize, ILL_SAFE_MALLOC, ldbl_ILLlpdata::intmarker, ldbl_check_qsdata_pointer(), ldbl_ILLheap_init(), ldbl_ILLlib_addcol(), ldbl_ILLlib_newrows(), ldbl_QScreate_prob(), ldbl_ILLlpdata::lower, ldbl_qsdata::lp, ldbl_ILLmatrix::matbeg, ldbl_ILLmatrix::matcnt, ldbl_ILLmatrix::matind, ldbl_ILLmatrix::matval, ldbl_ILLlpdata::nrows, ldbl_ILLlpdata::nstruct, ldbl_ILLlpdata::obj, ldbl_ILLlpdata::objname, ldbl_ILLlpdata::objsense, ldbl_qsdata::pricing, ldbl_qsdata::qslp, ldbl_ILLlpdata::rangeval, ldbl_ILLlpdata::rhs, ldbl_ILLlpdata::rownames, ldbl_ILLlpdata::sense, ldbl_qsdata::simplex_display, ldbl_qsdata::simplex_scaling, ldbl_ILLlpdata::structmap, and ldbl_ILLlpdata::upper.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSdata* ldbl_QScreate_prob ( const char *  name,
int  objsense 
)

Definition at line 500 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_pI_uinfo::c_obj, ldbl_qsdata::cache, itcnt_t::dI_iter, ldbl_price_info::dI_price, itcnt_t::dII_iter, ldbl_price_info::dII_price, ldbl_lpinfo::dinfeas, ldbl_lpinfo::dobjval, ldbl_pI_uinfo::dty, ldbl_qsdata::factorok, ldbl_price_info::htrigger, ILL_SAFE_MALLOC, ldbl_qsdata::itcnt, ldbl_ILL_MAXDOUBLE, ldbl_ILL_MINDOUBLE, ldbl_ILLlpdata_init(), ldbl_ILLprice_init_pricing_info(), ldbl_ILLsimplex_init_lpinfo(), ldbl_ILLsimplex_load_lpinfo(), ldbl_QSfree_prob(), ldbl_qsdata::lobjlim, ldbl_qsdata::lp, ldbl_qsdata::name, ldbl_lpinfo::objbound, ldbl_ILLlpdata::objsense, ldbl_lpinfo::objval, itcnt_t::pI_iter, ldbl_price_info::pI_price, itcnt_t::pII_iter, ldbl_price_info::pII_price, ldbl_lpinfo::pinfeas, ldbl_pI_uinfo::piv, ldbl_lpinfo::pobjval, ldbl_qsdata::pricing, ldbl_ILLlpdata::probname, QS_DEFAULT_PRICE_DI, QS_DEFAULT_PRICE_DII, QS_DEFAULT_PRICE_PI, QS_DEFAULT_PRICE_PII, QS_LP_UNSOLVED, QS_MAX, ldbl_qsdata::qslp, ldbl_qsdata::qstatus, ldbl_qsdata::simplex_display, ldbl_qsdata::simplex_scaling, itcnt_t::tot_iter, ldbl_pI_uinfo::tz, ldbl_qsdata::uobjlim, and ldbl_lpinfo::upd.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSdelete_col ( ldbl_QSdata p,
int  colindex 
)

Definition at line 1279 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), and ldbl_QSdelete_cols().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSdelete_cols ( ldbl_QSdata p,
int  num,
int *  dellist 
)

Definition at line 1249 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::factorok, ILL_IFFREE, ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_delcols(), ldbl_ILLlp_basis_free(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSdelete_named_column ( ldbl_QSdata p,
const char *  colname 
)

Definition at line 1342 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_QSdelete_cols(), and ldbl_QSget_column_index().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSdelete_named_columns_list ( ldbl_QSdata p,
int  num,
const char **  colnames 
)

Definition at line 1365 of file ldbl_qsopt.c.

References ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_QSdelete_cols(), and ldbl_QSget_column_index().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSdelete_named_row ( ldbl_QSdata p,
const char *  rowname 
)

Definition at line 1192 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_QSdelete_rows(), and ldbl_QSget_row_index().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSdelete_named_rows_list ( ldbl_QSdata p,
int  num,
const char **  rownames 
)

Definition at line 1215 of file ldbl_qsopt.c.

References ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_QSdelete_rows(), and ldbl_QSget_row_index().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSdelete_row ( ldbl_QSdata p,
int  rowindex 
)

Definition at line 1129 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), and ldbl_QSdelete_rows().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSdelete_rows ( ldbl_QSdata p,
int  num,
int *  dellist 
)

Definition at line 1092 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::cache, ldbl_qsdata::factorok, ILL_IFFREE, ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_delrows(), ldbl_ILLlp_basis_free(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSdelete_setcols ( ldbl_QSdata p,
int *  flags 
)

Definition at line 1299 of file ldbl_qsopt.c.

References ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_QSdelete_cols(), ldbl_ILLlpdata::nstruct, and ldbl_qsdata::qslp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSdelete_setrows ( ldbl_QSdata p,
int *  flags 
)

Definition at line 1149 of file ldbl_qsopt.c.

References ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_QSdelete_rows(), ldbl_ILLlpdata::nrows, and ldbl_qsdata::qslp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE void ldbl_QSerror_collector_free ( ldbl_QSerror_collector  c  ) 

Definition at line 3677 of file ldbl_qsopt.c.

References ldbl_ILLerror_collector_free().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSerror_collector ldbl_QSerror_collector_new ( void *  fct,
void *  dest 
)

Definition at line 3662 of file ldbl_qsopt.c.

References ldbl_check_pointer(), and ldbl_ILLerror_collector_new().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE const char* ldbl_QSerror_get_desc ( ldbl_QSformat_error  error  ) 

Definition at line 3824 of file ldbl_qsopt.c.

References ldbl_qsformat_error::desc, and ldbl_check_pointer().

Referenced by ldbl_ILLformat_error_print().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE const char* ldbl_QSerror_get_line ( ldbl_QSformat_error  error  ) 

Definition at line 3845 of file ldbl_qsopt.c.

References ldbl_check_pointer(), and ldbl_qsformat_error::theLine.

Referenced by ldbl_ILLformat_error_print().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSerror_get_line_number ( ldbl_QSformat_error  error  ) 

Definition at line 3831 of file ldbl_qsopt.c.

References ldbl_check_pointer(), and ldbl_qsformat_error::lineNumber.

Referenced by ldbl_ILLformat_error_print().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSerror_get_pos ( ldbl_QSformat_error  error  ) 

Definition at line 3838 of file ldbl_qsopt.c.

References ldbl_qsformat_error::at, and ldbl_check_pointer().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSerror_get_type ( ldbl_QSformat_error  error  ) 

Definition at line 3817 of file ldbl_qsopt.c.

References ldbl_check_pointer(), and ldbl_qsformat_error::type.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSerror_collector ldbl_QSerror_memory_collector_new ( ldbl_QSerror_memory  mem  ) 

Definition at line 3671 of file ldbl_qsopt.c.

References ldbl_check_pointer(), and ldbl_ILLerror_memory_collector_new().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSerror_memory ldbl_QSerror_memory_create ( int  takeErrorLines  ) 

Definition at line 3869 of file ldbl_qsopt.c.

References ldbl_ILLerror_memory_create().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE void ldbl_QSerror_memory_free ( ldbl_QSerror_memory  mem  ) 

Definition at line 3875 of file ldbl_qsopt.c.

References ldbl_ILLerror_memory_free(), and NULL.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSformat_error ldbl_QSerror_memory_get_last_error ( ldbl_QSerror_memory  mem  ) 

Definition at line 3907 of file ldbl_qsopt.c.

References ldbl_qserror_memory::error_list, and ldbl_check_pointer().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSerror_memory_get_nerrors ( ldbl_QSerror_memory  mem  ) 

Definition at line 3884 of file ldbl_qsopt.c.

References ldbl_check_pointer(), and ldbl_qserror_memory::nerror.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSerror_memory_get_nof ( ldbl_QSerror_memory  mem,
int  type 
)

Definition at line 3891 of file ldbl_qsopt.c.

References ldbl_qserror_memory::has_error, ILL_REPRT, ldbl_check_pointer(), and QS_INPUT_NERROR.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSformat_error ldbl_QSerror_memory_get_prev_error ( ldbl_QSformat_error  e  ) 

Definition at line 3914 of file ldbl_qsopt.c.

References ldbl_check_pointer(), ldbl_qsformat_error::next, and NULL.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE void ldbl_QSerror_print ( FILE *  f,
ldbl_QSformat_error  error 
)

Definition at line 3852 of file ldbl_qsopt.c.

References ldbl_check_pointer(), ldbl_ILLformat_error_print(), and NULL.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE const char* ldbl_QSformat_error_type_string ( int  tp  ) 

Definition at line 3785 of file ldbl_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 ldbl_ILLformat_error_print().

ldbl_QSLIB_INTERFACE void ldbl_QSfree ( void *  ptr  ) 

Definition at line 3339 of file ldbl_qsopt.c.

References ILL_IFFREE.

ldbl_QSLIB_INTERFACE void ldbl_QSfree_basis ( QSbasis B  ) 

Definition at line 2338 of file ldbl_qsopt.c.

References qsbasis::cstat, ILL_IFFREE, and qsbasis::rstat.

ldbl_QSLIB_INTERFACE void ldbl_QSfree_prob ( ldbl_QSdata p  ) 

Definition at line 2288 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_pI_uinfo::c_obj, ldbl_qsdata::cache, ldbl_lpinfo::dinfeas, ldbl_lpinfo::dobjval, ldbl_pI_uinfo::dty, ldbl_price_info::htrigger, ILL_IFFREE, ldbl_ILLlp_basis_free(), ldbl_ILLlp_cache_free(), ldbl_ILLlpdata_free(), ldbl_ILLprice_free_pricing_info(), ldbl_ILLsimplex_free_lpinfo(), ldbl_qsdata::lobjlim, ldbl_qsdata::lp, ldbl_qsdata::name, ldbl_lpinfo::objbound, ldbl_lpinfo::objval, ldbl_lpinfo::pinfeas, ldbl_pI_uinfo::piv, ldbl_lpinfo::pobjval, ldbl_qsdata::pricing, ldbl_qsdata::qslp, ldbl_pI_uinfo::tz, ldbl_qsdata::uobjlim, ldbl_lpinfo::upd, and ldbl_ILLlp_cache::val.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE QSbasis* ldbl_QSget_basis ( ldbl_QSdata p  ) 

Definition at line 1861 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ILL_SAFE_MALLOC, ldbl_illbasis_to_qsbasis(), ldbl_init_basis(), and ldbl_QSfree_basis().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_basis_and_row_norms_array ( ldbl_QSdata p,
char *  cstat,
char *  rstat,
long double *  rownorms 
)

Definition at line 1918 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_ILLlp_basis::cstat, ldbl_check_qsdata_pointer(), ldbl_ILLlp_basis::nrows, ldbl_ILLlp_basis::nstruct, ldbl_ILLlp_basis::rownorms, and ldbl_ILLlp_basis::rstat.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_basis_array ( ldbl_QSdata p,
char *  cstat,
char *  rstat 
)

Definition at line 1890 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_ILLlp_basis::cstat, ldbl_check_qsdata_pointer(), ldbl_ILLlp_basis::nrows, ldbl_ILLlp_basis::nstruct, and ldbl_ILLlp_basis::rstat.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_basis_order ( ldbl_QSdata p,
int *  basorder 
)

Definition at line 2238 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_ILLlib_basis_order(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_binv_row ( ldbl_QSdata p,
int  indx,
long double *  binvrow 
)

Definition at line 2175 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_ILLlib_tableau(), ldbl_QSget_rowcount(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_bound ( ldbl_QSdata p,
int  colindex,
int  lu,
long double *  bound 
)

Definition at line 3123 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getbnd(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_bounds ( ldbl_QSdata p,
long double *  lower,
long double *  upper 
)

Definition at line 3162 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getbnds(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_bounds_list ( ldbl_QSdata p,
int  num,
int *  collist,
long double *  lb,
long double *  ub 
)

Definition at line 3142 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getbnds_list(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_coef ( ldbl_QSdata p,
int  rowindex,
int  colindex,
long double *  coef 
)

Definition at line 1464 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getcoef(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_colcount ( ldbl_QSdata p  ) 

Definition at line 2691 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_colnames ( ldbl_QSdata p,
char **  colnames 
)

Definition at line 3106 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_colnames(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_column_index ( ldbl_QSdata p,
const char *  name,
int *  colindex 
)

Definition at line 3239 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_colindex(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_columns ( ldbl_QSdata p,
int **  colcnt,
int **  colbeg,
int **  colind,
long double **  colval,
long double **  obj,
long double **  lower,
long double **  upper,
char ***  names 
)

Definition at line 3017 of file ldbl_qsopt.c.

References ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_ILLlib_getcols(), ldbl_QSget_colcount(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_columns_list ( ldbl_QSdata p,
int  num,
int *  collist,
int **  colcnt,
int **  colbeg,
int **  colind,
long double **  colval,
long double **  obj,
long double **  lower,
long double **  upper,
char ***  names 
)

Definition at line 2978 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getcols(), ldbl_QSget_colcount(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_infeas_array ( ldbl_QSdata p,
long double *  pi 
)

Definition at line 2529 of file ldbl_qsopt.c.

References ILL_ERROR, ldbl_check_qsdata_pointer(), ldbl_ILLsimplex_infcertificate(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_intcount ( ldbl_QSdata p,
int *  count 
)

Definition at line 3203 of file ldbl_qsopt.c.

References ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_ILLlib_getintflags(), ldbl_QSget_colcount(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_intflags ( ldbl_QSdata p,
int *  intflags 
)

Definition at line 3180 of file ldbl_qsopt.c.

References ILL_CLEANUP, ldbl_check_qsdata_pointer(), ldbl_ILLlib_getintflags(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_itcnt ( ldbl_QSdata p,
int *  pI_iter,
int *  pII_iter,
int *  dI_iter,
int *  dII_iter,
int *  tot_iter 
)

Definition at line 815 of file ldbl_qsopt.c.

References itcnt_t::dI_iter, itcnt_t::dII_iter, ldbl_qsdata::itcnt, ldbl_check_qsdata_pointer(), itcnt_t::pI_iter, itcnt_t::pII_iter, and itcnt_t::tot_iter.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_named_pi ( ldbl_QSdata p,
const char *  rowname,
long double *  val 
)

Definition at line 2621 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_QSget_row_index(), and ldbl_ILLlp_cache::pi.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_named_rc ( ldbl_QSdata p,
const char *  colname,
long double *  val 
)

Definition at line 2586 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_QSget_column_index(), and ldbl_ILLlp_cache::rc.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_named_slack ( ldbl_QSdata p,
const char *  rowname,
long double *  val 
)

Definition at line 2656 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_QSget_row_index(), and ldbl_ILLlp_cache::slack.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_named_x ( ldbl_QSdata p,
const char *  colname,
long double *  val 
)

Definition at line 2551 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_QSget_column_index(), and ldbl_ILLlp_cache::x.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_nzcount ( ldbl_QSdata p  ) 

Definition at line 2717 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_obj ( ldbl_QSdata p,
long double *  obj 
)

Definition at line 2769 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getobj(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_obj_list ( ldbl_QSprob  p,
int  num,
int *  collist,
long double *  obj 
)

Definition at line 2754 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getobj_list(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE char* ldbl_QSget_objname ( ldbl_QSdata p  ) 

Definition at line 3071 of file ldbl_qsopt.c.

References ILL_RETURN_PTR, ldbl_check_qsdata_pointer(), ldbl_ILLlpdata::objname, and ldbl_qsdata::qslp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_objsense ( ldbl_QSdata p,
int *  objsense 
)

Definition at line 837 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlpdata::objsense, and ldbl_qsdata::qslp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_objval ( ldbl_QSdata p,
long double *  value 
)

Definition at line 2407 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ILL_CLEANUP, ldbl_check_qsdata_pointer(), ldbl_ILLlib_objval(), ldbl_qsdata::lp, QS_LP_MODIFIED, and ldbl_qsdata::qstatus.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_param ( ldbl_QSdata p,
int  whichparam,
int *  value 
)

Definition at line 3486 of file ldbl_qsopt.c.

References ldbl_price_info::dII_price, ldbl_check_qsdata_pointer(), ldbl_qsdata::lp, ldbl_lpinfo::maxiter, ldbl_price_info::pII_price, ldbl_qsdata::pricing, QS_PARAM_DUAL_PRICING, QS_PARAM_PRIMAL_PRICING, QS_PARAM_SIMPLEX_DISPLAY, QS_PARAM_SIMPLEX_MAX_ITERATIONS, QS_PARAM_SIMPLEX_SCALING, ldbl_qsdata::simplex_display, and ldbl_qsdata::simplex_scaling.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_param_EGlpNum ( ldbl_QSdata p,
int  whichparam,
long double *  value 
)

Definition at line 3531 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_qsdata::lobjlim, ldbl_qsdata::lp, ldbl_lpinfo::maxtime, QS_PARAM_OBJLLIM, QS_PARAM_OBJULIM, QS_PARAM_SIMPLEX_MAX_TIME, and ldbl_qsdata::uobjlim.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_pi_array ( ldbl_QSdata p,
long double *  pi 
)

Definition at line 2505 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_ILLlib_solution(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSdata* ldbl_QSget_prob ( ldbl_QSline_reader  reader,
const char *  probname,
const char *  filetype 
)

Definition at line 3683 of file ldbl_qsopt.c.

References ILL_CHECKnull, ILL_CLEANUP, ILL_FAILfalse, ILL_IFFREE, ldbl_ILLread(), ldbl_ILLsimplex_load_lpinfo(), ldbl_QSfree_prob(), ldbl_qsdata::lp, ldbl_qsdata::name, NULL, ldbl_ILLlpdata::probname, and ldbl_qsdata::qslp.

Referenced by ldbl_QSread_prob().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE char* ldbl_QSget_probname ( ldbl_QSdata p  ) 

Definition at line 3056 of file ldbl_qsopt.c.

References ILL_RETURN_PTR, ldbl_check_qsdata_pointer(), and ldbl_qsdata::name.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_ranged_rows ( ldbl_QSdata p,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
long double **  rowval,
long double **  rhs,
char **  sense,
long double **  range,
char ***  names 
)

Definition at line 2843 of file ldbl_qsopt.c.

References ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_ILLlib_getrows(), ldbl_QSget_rowcount(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_ranged_rows_list ( ldbl_QSdata p,
int  num,
int *  rowlist,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
long double **  rowval,
long double **  rhs,
char **  sense,
long double **  range,
char ***  names 
)

Definition at line 2803 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getrows(), ldbl_QSget_rowcount(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_rc_array ( ldbl_QSdata p,
long double *  rc 
)

Definition at line 2481 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_ILLlib_solution(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_rhs ( ldbl_QSdata p,
long double *  rhs 
)

Definition at line 2786 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getrhs(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_row_index ( ldbl_QSdata p,
const char *  name,
int *  rowindex 
)

Definition at line 3259 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_rowindex(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_rowcount ( ldbl_QSdata p  ) 

Definition at line 2704 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_rownames ( ldbl_QSdata p,
char **  rownames 
)

Definition at line 3089 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_rownames(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_rows ( ldbl_QSdata p,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
long double **  rowval,
long double **  rhs,
char **  sense,
char ***  names 
)

Definition at line 2940 of file ldbl_qsopt.c.

References ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_ILLlib_getrows(), ldbl_QSget_rowcount(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_rows_list ( ldbl_QSdata p,
int  num,
int *  rowlist,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
long double **  rowval,
long double **  rhs,
char **  sense,
char ***  names 
)

Definition at line 2901 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getrows(), ldbl_QSget_rowcount(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_senses ( ldbl_QSdata p,
char *  senses 
)

Definition at line 2882 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILLlib_getsenses(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_slack_array ( ldbl_QSdata p,
long double *  slack 
)

Definition at line 2457 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_ILLlib_get_slack(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_solution ( ldbl_QSdata p,
long double *  value,
long double *  x,
long double *  pi,
long double *  slack,
long double *  rc 
)

Definition at line 2379 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_ILLlib_solution(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_status ( ldbl_QSdata p,
int *  status 
)

Definition at line 2362 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), and ldbl_qsdata::qstatus.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_tableau_row ( ldbl_QSdata p,
int  indx,
long double *  tableaurow 
)

Definition at line 2213 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_ILLlib_tableau(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSget_x_array ( ldbl_QSdata p,
long double *  x 
)

Definition at line 2433 of file ldbl_qsopt.c.

References ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_ILLlib_get_x(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE void ldbl_QSline_reader_free ( ldbl_QSline_reader  reader  ) 

Definition at line 3645 of file ldbl_qsopt.c.

References ldbl_ILLline_reader_free().

Referenced by ldbl_QSread_prob().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE char* ldbl_QSline_reader_get ( ldbl_QSline_reader  reader,
char *  s,
int  size 
)

Definition at line 3651 of file ldbl_qsopt.c.

References ldbl_check_pointer(), and ldbl_ILLline_reader_get.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSline_reader ldbl_QSline_reader_new ( void *  fct,
void *  data_src 
)

Definition at line 3627 of file ldbl_qsopt.c.

References ldbl_check_pointer(), and ldbl_ILLline_reader_new().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE void ldbl_QSline_reader_set_error_collector ( ldbl_QSline_reader  reader,
ldbl_QSerror_collector  collector 
)

Definition at line 3636 of file ldbl_qsopt.c.

References ldbl_qsline_reader::error_collector, and ldbl_check_pointer().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSload_basis ( ldbl_QSdata p,
QSbasis B 
)

Definition at line 1665 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::factorok, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_ILLlp_basis_free(), ldbl_ILLlp_basis_init(), ldbl_qsbasis_to_illbasis(), ldbl_ILLlpdata::nrows, qsbasis::nrows, ldbl_ILLlpdata::nstruct, qsbasis::nstruct, and ldbl_qsdata::qslp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSload_basis_and_row_norms_array ( ldbl_QSdata p,
char *  cstat,
char *  rstat,
long double *  rownorms 
)

Definition at line 1791 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::factorok, ldbl_check_qsdata_pointer(), ldbl_QSload_basis_array(), ldbl_ILLlpdata::nrows, ldbl_qsdata::qslp, and ldbl_ILLlp_basis::rownorms.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSload_basis_array ( ldbl_QSdata p,
char *  cstat,
char *  rstat 
)

Definition at line 1728 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_ILLlp_basis::cstat, ldbl_qsdata::factorok, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_ILLlp_basis_free(), ldbl_ILLlp_basis_init(), ldbl_ILLlp_basis::nrows, ldbl_ILLlpdata::nrows, ldbl_ILLlp_basis::nstruct, ldbl_ILLlpdata::nstruct, ldbl_qsdata::qslp, and ldbl_ILLlp_basis::rstat.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSdata* ldbl_QSload_prob ( const char *  probname,
int  ncols,
int  nrows,
int *  cmatcnt,
int *  cmatbeg,
int *  cmatind,
long double *  cmatval,
int  objsense,
long double *  obj,
long double *  rhs,
char *  sense,
long double *  lower,
long double *  upper,
const char **  colnames,
const char **  rownames 
)

Definition at line 643 of file ldbl_qsopt.c.

References ldbl_qsdata::factorok, ldbl_ILLlib_addcols(), ldbl_ILLlib_newrows(), ldbl_QScreate_prob(), ldbl_QSfree_prob(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSnew_col ( ldbl_QSdata p,
const long double  obj,
const long double  lower,
const long double  upper,
const char *  name 
)

Definition at line 855 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::factorok, ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_newcol(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSnew_row ( ldbl_QSdata p,
const long double  rhs,
int  sense,
const char *  name 
)

Definition at line 932 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::factorok, ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_newrow(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSopt_dual ( ldbl_QSdata p,
int *  status 
)

Definition at line 224 of file ldbl_qsopt.c.

References __QS_SB_VERB, ldbl_qsdata::basis, ldbl_qsdata::cache, ldbl_qsdata::factorok, ldbl_check_qsdata_pointer(), ldbl_opt_work(), QS_LP_CHANGE_PREC, QS_LP_UNSOLVED, and ldbl_ILLlp_cache::status.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSopt_pivotin_col ( ldbl_QSdata p,
int  ccnt,
int *  clist 
)

Definition at line 436 of file ldbl_qsopt.c.

References ILL_ERROR, ldbl_check_qsdata_pointer(), ldbl_grab_basis(), ldbl_ILLsimplex_pivotin(), ldbl_qsdata::lp, ldbl_qsdata::pricing, and SIMPLEX_PIVOTINCOL.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSopt_pivotin_row ( ldbl_QSdata p,
int  rcnt,
int *  rlist 
)

Definition at line 408 of file ldbl_qsopt.c.

References ILL_ERROR, ldbl_check_qsdata_pointer(), ldbl_grab_basis(), ldbl_ILLsimplex_pivotin(), ldbl_qsdata::lp, ldbl_qsdata::pricing, and SIMPLEX_PIVOTINROW.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSopt_primal ( ldbl_QSdata p,
int *  status 
)

Definition at line 194 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_qsdata::cache, ldbl_check_qsdata_pointer(), ldbl_opt_work(), QS_LP_UNSOLVED, and ldbl_ILLlp_cache::status.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSopt_strongbranch ( ldbl_QSdata p,
int  ncand,
int *  candidatelist,
long double *  xlist,
long double *  down_vals,
long double *  up_vals,
int  iterations,
long double  objbound 
)

Definition at line 465 of file ldbl_qsopt.c.

References ldbl_qsdata::factorok, ldbl_qsdata::itcnt, ldbl_check_qsdata_pointer(), ldbl_free_cache(), ldbl_ILLlib_strongbranch(), ldbl_qsdata::lp, ldbl_qsdata::pricing, QS_LP_UNSOLVED, and ldbl_qsdata::qstatus.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSread_and_load_basis ( ldbl_QSdata p,
const char *  filename 
)

Definition at line 1701 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ILL_SAFE_MALLOC, ldbl_check_qsdata_pointer(), ldbl_ILLlib_readbasis(), ldbl_ILLlp_basis_free(), ldbl_ILLlp_basis_init(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE QSbasis* ldbl_QSread_basis ( ldbl_QSdata p,
const char *  filename 
)

Definition at line 1631 of file ldbl_qsopt.c.

References ILL_NEW, ldbl_check_qsdata_pointer(), ldbl_illbasis_to_qsbasis(), ldbl_ILLlib_readbasis(), ldbl_ILLlp_basis_free(), ldbl_ILLlp_basis_init(), ldbl_init_basis(), ldbl_QSfree_basis(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE ldbl_QSdata* ldbl_QSread_prob ( const char *  filename,
const char *  filetype 
)

Definition at line 615 of file ldbl_qsopt.c.

References ldbl_ILLline_reader_new(), ldbl_QSget_prob(), ldbl_QSline_reader_free(), and NULL.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSreport_prob ( ldbl_QSdata p,
const char *  filetype,
ldbl_qserror_collector c 
)

Definition at line 3726 of file ldbl_qsopt.c.

References ldbl_formatIsMps(), ldbl_ILLwrite_lp(), ldbl_ILLwrite_mps(), and ldbl_qsdata::qslp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSset_param ( ldbl_QSdata p,
int  whichparam,
int  newvalue 
)

Definition at line 3345 of file ldbl_qsopt.c.

References ldbl_price_info::dI_price, ldbl_price_info::dII_price, ldbl_check_qsdata_pointer(), ldbl_qsdata::lp, ldbl_lpinfo::maxiter, ldbl_price_info::pI_price, ldbl_price_info::pII_price, ldbl_qsdata::pricing, QS_PARAM_DUAL_PRICING, QS_PARAM_PRIMAL_PRICING, QS_PARAM_SIMPLEX_DISPLAY, QS_PARAM_SIMPLEX_MAX_ITERATIONS, QS_PARAM_SIMPLEX_SCALING, QS_PRICE_DDANTZIG, QS_PRICE_DDEVEX, QS_PRICE_DMULTPARTIAL, QS_PRICE_DSTEEP, QS_PRICE_PDANTZIG, QS_PRICE_PDEVEX, QS_PRICE_PMULTPARTIAL, QS_PRICE_PSTEEP, ldbl_qsdata::simplex_display, and ldbl_qsdata::simplex_scaling.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSset_param_EGlpNum ( ldbl_QSdata p,
int  whichparam,
long double  newvalue 
)

Definition at line 3434 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer(), ldbl_ILL_MAXDOUBLE, ldbl_ILL_MINDOUBLE, ldbl_ILLsimplex_set_bound(), ldbl_QSget_objsense(), ldbl_qsdata::lobjlim, ldbl_qsdata::lp, ldbl_lpinfo::maxtime, QS_MAX, QS_MIN, QS_PARAM_OBJLLIM, QS_PARAM_OBJULIM, QS_PARAM_SIMPLEX_MAX_TIME, and ldbl_qsdata::uobjlim.

Here is the call graph for this function:

void ldbl_QSset_precision ( const unsigned  prec  ) 

Definition at line 173 of file ldbl_qsopt.c.

References ldbl_ILLchange_precision().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE void ldbl_QSset_reporter ( ldbl_QSprob  prob,
int  skip,
void *  fct,
void *  dest 
)

Definition at line 3762 of file ldbl_qsopt.c.

References ILL_FAILtrue, ILLstring_reporter_init(), ldbl_lpinfo::iterskip, ldbl_check_pointer(), ldbl_check_qsdata_pointer(), ldbl_qsdata::lp, NULL, ldbl_qsdata::qslp, and ldbl_ILLlpdata::reporter.

Referenced by ldbl_solver_main().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QStest_row_norms ( ldbl_QSdata p  ) 

Definition at line 2730 of file ldbl_qsopt.c.

References ldbl_check_qsdata_pointer().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE char* ldbl_QSversion ( void   ) 

Definition at line 3747 of file ldbl_qsopt.c.

References PACKAGE_STRING.

Referenced by ldbl_solver_main(), and ldbl_usage().

ldbl_QSLIB_INTERFACE int ldbl_QSwrite_basis ( ldbl_QSdata p,
QSbasis B,
const char *  filename 
)

Definition at line 1821 of file ldbl_qsopt.c.

References ldbl_qsdata::basis, ldbl_check_qsdata_pointer(), ldbl_ILLlib_writebasis(), ldbl_ILLlp_basis_free(), ldbl_ILLlp_basis_init(), ldbl_qsbasis_to_illbasis(), and ldbl_qsdata::lp.

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSwrite_prob ( ldbl_QSdata p,
const char *  filename,
const char *  filetype 
)

Definition at line 3295 of file ldbl_qsopt.c.

References ILL_CHECKnull, ldbl_QSwrite_prob_EGioFile(), and NULL.

Here is the call graph for this function:

static int ldbl_QSwrite_prob_EGioFile ( ldbl_QSdata p,
EGioFile_t *  out,
const char *  filetype 
) [static]

Definition at line 3279 of file ldbl_qsopt.c.

References ILL_RESULT, ILLstring_reporter_copy(), ILLstring_reporter_init(), ldbl_QSreport_prob(), NULL, ldbl_qsdata::qslp, and ldbl_ILLlpdata::reporter.

Referenced by ldbl_QSwrite_prob(), and ldbl_QSwrite_prob_file().

Here is the call graph for this function:

ldbl_QSLIB_INTERFACE int ldbl_QSwrite_prob_file ( ldbl_QSdata p,
FILE *  out,
const char *  filetype 
)

Definition at line 3325 of file ldbl_qsopt.c.

References ldbl_QSwrite_prob_EGioFile().

Here is the call graph for this function:


Variable Documentation

int TRACE = 0 [static]

Definition at line 24 of file ldbl_qsopt.c.


Generated on Thu Mar 29 09:40:41 2012 for QSopt_ex by  doxygen 1.4.7