dbl_rawlp.c File Reference

#include "qs_config.h"
#include "config.h"
#include "dbl_sortrus.h"
#include "dbl_iqsutil.h"
#include "dbl_rawlp.h"
#include "allocrus.h"

Include dependency graph for dbl_rawlp.c:

Go to the source code of this file.

Functions

static int dbl_buildMatrix (dbl_rawlpdata *raw, dbl_ILLlpdata *lp, int *rowindex, int *colindex)
static int dbl_buildSosInfo (dbl_rawlpdata *raw, dbl_ILLlpdata *lp, int *colindex)
static int dbl_convert_rawlpdata_to_lpdata (dbl_rawlpdata *raw, dbl_ILLlpdata *lp)
static int dbl_ILLcheck_rawlpdata (dbl_rawlpdata *lp)
dbl_colptrdbl_ILLcolptralloc (ILLptrworld *p)
int dbl_ILLdata_error (dbl_qserror_collector *collector, const char *format,...)
void dbl_ILLdata_warn (dbl_qserror_collector *collector, const char *format,...)
void dbl_ILLfree_rawlpdata (dbl_rawlpdata *lp)
void dbl_ILLinit_rawlpdata (dbl_rawlpdata *lp, dbl_qserror_collector *collector)
static int dbl_ILLmsg (dbl_qserror_collector *collector, int isError, const char *format, va_list args)
void dbl_ILLprint_rawlpdata (dbl_rawlpdata *lp)
int dbl_ILLraw_add_col (dbl_rawlpdata *lp, const char *name, int intmarker)
int dbl_ILLraw_add_col_coef (dbl_rawlpdata *lp, int colind, int rowind, double coef)
int dbl_ILLraw_add_ranges_coef (dbl_rawlpdata *lp, int rowind, double coef)
int dbl_ILLraw_add_row (dbl_rawlpdata *lp, const char *name, int sense, const double rhs)
int dbl_ILLraw_add_sos (dbl_rawlpdata *lp, int tp)
int dbl_ILLraw_add_sos_member (dbl_rawlpdata *lp, int colind)
static int dbl_ILLraw_check_bounds (dbl_rawlpdata *lp)
void dbl_ILLraw_clear_matrix (dbl_rawlpdata *lp)
const char * dbl_ILLraw_colname (dbl_rawlpdata *lp, int i)
int dbl_ILLraw_default_lower (dbl_ILLlpdata *lp, int i)
int dbl_ILLraw_default_upper (dbl_ILLlpdata *lp, int i, int ri)
int dbl_ILLraw_fill_in_bounds (dbl_rawlpdata *lp)
int dbl_ILLraw_fill_in_rownames (dbl_rawlpdata *lp)
int dbl_ILLraw_first_nondefault_bound (dbl_ILLlpdata *lp)
int dbl_ILLraw_init_bounds (dbl_rawlpdata *lp)
int dbl_ILLraw_init_ranges (dbl_rawlpdata *lp)
int dbl_ILLraw_init_rhs (dbl_rawlpdata *lp)
int dbl_ILLraw_is_mem_other_sos (dbl_rawlpdata *lp, int colind)
const char * dbl_ILLraw_rowname (dbl_rawlpdata *lp, int i)
const char * dbl_ILLraw_set_binaryBound (dbl_rawlpdata *lp, int i)
int dbl_ILLraw_set_bounds_name (dbl_rawlpdata *lp, const char *name, int *skip)
const char * dbl_ILLraw_set_fixedBound (dbl_rawlpdata *lp, int i, double bnd)
const char * dbl_ILLraw_set_lowerBound (dbl_rawlpdata *lp, int i, double bnd)
int dbl_ILLraw_set_ranges_name (dbl_rawlpdata *lp, const char *name, int *skip)
int dbl_ILLraw_set_rhs_name (dbl_rawlpdata *lp, const char *name, int *skip)
const char * dbl_ILLraw_set_unbound (dbl_rawlpdata *lp, int i)
const char * dbl_ILLraw_set_upperBound (dbl_rawlpdata *lp, int i, double bnd)
int dbl_ILLrawlpdata_to_lpdata (dbl_rawlpdata *raw, dbl_ILLlpdata *lp)
static int dbl_initStructmap (dbl_ILLlpdata *lp)
static void dbl_safeRegister (ILLsymboltab *tab, const char *name, int i)
static int dbl_set_field_name (char **field, const char *name, int *skip)
static int dbl_transferColNamesLowerUpperIntMarker (dbl_rawlpdata *raw, dbl_ILLlpdata *lp, int *colindex)
static int dbl_transferObjective (dbl_rawlpdata *raw, dbl_ILLlpdata *lp, int *colindex)
static int dbl_transferRanges (dbl_rawlpdata *raw, dbl_ILLlpdata *lp, int *rowindex)
static int dbl_transferSenseRhsRowNames (dbl_rawlpdata *raw, dbl_ILLlpdata *lp, int *rowindex)
static int dbl_whichColsAreUsed (dbl_rawlpdata *raw, dbl_ILLlpdata *lp, int *colindex)
static int dbl_whichRowsAreUsed (dbl_rawlpdata *raw, dbl_ILLlpdata *lp, int *rowindex)
 ILL_PTRWORLD_ROUTINES (ILL_PTRWORLD_LISTFREE_ROUTINE(dbl_colptr, colptralloc, colptr_bulkalloc, colptrfree)

Variables

static int TRACE = 0


Function Documentation

static int dbl_buildMatrix ( dbl_rawlpdata raw,
dbl_ILLlpdata lp,
int *  rowindex,
int *  colindex 
) [static]

Definition at line 1131 of file dbl_rawlp.c.

References dbl_ILLlpdata::A, dbl_ILLlpdata::colnames, dbl_rawlpdata::cols, dbl_ILLdata_warn(), dbl_rawlpdata::error_collector, ILL_SAFE_MALLOC, dbl_ILLmatrix::matbeg, dbl_ILLmatrix::matcnt, dbl_rawlpdata::ncols, dbl_ILLlpdata::ncols, dbl_colptr::next, dbl_ILLlpdata::nrows, NULL, dbl_ILLlpdata::nzcount, and dbl_colptr::this_val.

Referenced by dbl_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int dbl_buildSosInfo ( dbl_rawlpdata raw,
dbl_ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 1344 of file dbl_rawlp.c.

References dbl_sosptr::first, ILL_SAFE_MALLOC, dbl_ILLlpdata::is_sos_mem, dbl_rawlpdata::is_sos_member, dbl_ILLmatrix::matbeg, dbl_ILLmatrix::matcnt, dbl_ILLmatrix::matcols, dbl_ILLmatrix::matcolsize, dbl_ILLmatrix::matfree, dbl_ILLmatrix::matind, dbl_ILLmatrix::matrows, dbl_ILLmatrix::matsize, dbl_ILLmatrix::matval, dbl_rawlpdata::ncols, dbl_ILLlpdata::ncols, dbl_sosptr::nelem, dbl_rawlpdata::nsos, dbl_ILLlpdata::sos, dbl_rawlpdata::sos_col, dbl_rawlpdata::sos_set, dbl_ILLlpdata::sos_type, dbl_rawlpdata::sos_weight, and dbl_sosptr::type.

Referenced by dbl_convert_rawlpdata_to_lpdata().

static int dbl_convert_rawlpdata_to_lpdata ( dbl_rawlpdata raw,
dbl_ILLlpdata lp 
) [static]

Definition at line 1407 of file dbl_rawlp.c.

References dbl_ILLlpdata::A, dbl_ILLlpdata::colsize, dbl_ILLlpdata::coltab, dbl_buildMatrix(), dbl_buildSosInfo(), dbl_ILL_MAX, dbl_ILL_MIN, dbl_ILL_UTIL_STR, dbl_ILLcheck_rawlpdata(), dbl_ILLdata_error(), dbl_ILLdata_warn(), dbl_ILLfree_rawlpdata(), dbl_ILLlpdata_init(), dbl_ILLmatrix_prt(), dbl_initStructmap(), dbl_transferColNamesLowerUpperIntMarker(), dbl_transferObjective(), dbl_transferRanges(), dbl_transferSenseRhsRowNames(), dbl_whichColsAreUsed(), dbl_whichRowsAreUsed(), dbl_rawlpdata::error_collector, ILL_CLEANUP_IF, ILL_FAILfalse, ILL_FAILtrue, ILL_IFDOTRACE, ILL_IFFREE, ILL_RESULT, ILL_SAFE_MALLOC, ILLsymboltab_create(), dbl_rawlpdata::name, dbl_ILLlpdata::ncols, dbl_rawlpdata::ncols, dbl_ILLlpdata::nrows, dbl_rawlpdata::nrows, dbl_ILLlpdata::nstruct, NULL, dbl_rawlpdata::objindex, dbl_rawlpdata::objsense, dbl_ILLlpdata::objsense, dbl_ILLlpdata::probname, dbl_rawlpdata::ranges, dbl_ILLlpdata::rowsize, dbl_ILLlpdata::rowtab, and dbl_ILLlpdata::structsize.

Referenced by dbl_ILLrawlpdata_to_lpdata().

Here is the call graph for this function:

static int dbl_ILLcheck_rawlpdata ( dbl_rawlpdata lp  )  [static]

Definition at line 496 of file dbl_rawlp.c.

References dbl_ILLdata_error(), dbl_ILLraw_colname(), dbl_ILLraw_rowname(), dbl_ILLutil_EGlpNum_perm_quicksort(), dbl_rawlpdata::error_collector, dbl_sosptr::first, ILL_FAILfalse, ILL_SAFE_MALLOC, dbl_rawlpdata::ncols, dbl_sosptr::nelem, NULL, and dbl_rawlpdata::objindex.

Referenced by dbl_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

dbl_colptr* dbl_ILLcolptralloc ( ILLptrworld p  ) 

Definition at line 1753 of file dbl_rawlp.c.

References dbl_colptr::coef.

int dbl_ILLdata_error ( dbl_qserror_collector collector,
const char *  format,
  ... 
)

Definition at line 1731 of file dbl_rawlp.c.

References dbl_ILLmsg(), and dbl_TRUE.

Here is the call graph for this function:

void dbl_ILLdata_warn ( dbl_qserror_collector collector,
const char *  format,
  ... 
)

Definition at line 1742 of file dbl_rawlp.c.

References dbl_FALSE, and dbl_ILLmsg().

Here is the call graph for this function:

void dbl_ILLfree_rawlpdata ( dbl_rawlpdata lp  ) 

Definition at line 144 of file dbl_rawlp.c.

References dbl_rawlpdata::boundsname, dbl_colptr::coef, dbl_rawlpdata::cols, dbl_rawlpdata::coltab, dbl_ILLinit_rawlpdata(), dbl_ILLraw_clear_matrix(), ILL_IFFREE, ILLptrworld_delete(), ILLsymboltab_free(), dbl_rawlpdata::intmarker, dbl_rawlpdata::is_sos_member, dbl_rawlpdata::lbind, dbl_rawlpdata::lower, dbl_rawlpdata::name, dbl_colptr::next, NULL, dbl_rawlpdata::ptrworld, dbl_rawlpdata::ranges, dbl_rawlpdata::rangesind, dbl_rawlpdata::rangesname, dbl_rawlpdata::refrow, dbl_rawlpdata::rhs, dbl_rawlpdata::rhsind, dbl_rawlpdata::rhsname, dbl_rawlpdata::rowsense, dbl_rawlpdata::rowtab, dbl_rawlpdata::sos_col, dbl_rawlpdata::sos_set, dbl_rawlpdata::sos_weight, dbl_rawlpdata::ubind, and dbl_rawlpdata::upper.

Here is the call graph for this function:

void dbl_ILLinit_rawlpdata ( dbl_rawlpdata lp,
dbl_qserror_collector collector 
)

Definition at line 70 of file dbl_rawlp.c.

References dbl_rawlpdata::boundsname, dbl_rawlpdata::cols, dbl_rawlpdata::colsize, dbl_rawlpdata::coltab, dbl_ILL_MIN, dbl_rawlpdata::error_collector, ILLptrworld_init(), ILLsymboltab_init(), dbl_rawlpdata::intmarker, dbl_rawlpdata::intsize, dbl_rawlpdata::is_sos_member, dbl_rawlpdata::is_sos_size, dbl_rawlpdata::lbind, dbl_rawlpdata::lower, dbl_rawlpdata::name, dbl_rawlpdata::ncols, dbl_rawlpdata::nrows, dbl_rawlpdata::nsos, dbl_rawlpdata::nsos_member, NULL, dbl_rawlpdata::objindex, dbl_rawlpdata::objsense, dbl_rawlpdata::ptrworld, dbl_rawlpdata::ranges, dbl_rawlpdata::rangesind, dbl_rawlpdata::rangesname, dbl_rawlpdata::refrow, dbl_rawlpdata::refrowind, dbl_rawlpdata::rhs, dbl_rawlpdata::rhsind, dbl_rawlpdata::rhsname, dbl_rawlpdata::rhssize, dbl_rawlpdata::rowsense, dbl_rawlpdata::rowtab, dbl_rawlpdata::sensesize, dbl_rawlpdata::sos_col, dbl_rawlpdata::sos_col_size, dbl_rawlpdata::sos_set, dbl_rawlpdata::sos_setsize, dbl_rawlpdata::sos_weight, dbl_rawlpdata::sos_weight_size, dbl_rawlpdata::ubind, and dbl_rawlpdata::upper.

Here is the call graph for this function:

static int dbl_ILLmsg ( dbl_qserror_collector collector,
int  isError,
const char *  format,
va_list  args 
) [static]

Definition at line 1697 of file dbl_rawlp.c.

References dbl_ILLformat_error, dbl_ILLformat_error_create(), dbl_ILLformat_error_delete(), NULL, QS_DATA_ERROR, and QS_DATA_WARN.

Referenced by dbl_ILLdata_error(), and dbl_ILLdata_warn().

Here is the call graph for this function:

void dbl_ILLprint_rawlpdata ( dbl_rawlpdata lp  ) 

Definition at line 1561 of file dbl_rawlp.c.

References dbl_colptr::coef, dbl_rawlpdata::cols, dbl_ILLraw_colname(), dbl_ILLraw_rowname(), dbl_rawlpdata::name, dbl_rawlpdata::ncols, dbl_colptr::next, dbl_rawlpdata::nrows, dbl_rawlpdata::rhs, dbl_rawlpdata::rowsense, and dbl_colptr::this_val.

Here is the call graph for this function:

int dbl_ILLraw_add_col ( dbl_rawlpdata lp,
const char *  name,
int  intmarker 
)

Definition at line 227 of file dbl_rawlp.c.

References dbl_rawlpdata::cols, dbl_rawlpdata::colsize, dbl_rawlpdata::coltab, ILL_CLEANUP_IF, ILL_RETURN, ILLsymboltab_register(), dbl_rawlpdata::intmarker, dbl_rawlpdata::intsize, dbl_rawlpdata::is_sos_member, dbl_rawlpdata::is_sos_size, and dbl_rawlpdata::ncols.

Here is the call graph for this function:

int dbl_ILLraw_add_col_coef ( dbl_rawlpdata lp,
int  colind,
int  rowind,
double  coef 
)

Definition at line 319 of file dbl_rawlp.c.

References dbl_colptr::coef, dbl_rawlpdata::cols, dbl_ILLcolptralloc(), dbl_colptr::next, dbl_rawlpdata::ptrworld, and dbl_colptr::this_val.

Here is the call graph for this function:

int dbl_ILLraw_add_ranges_coef ( dbl_rawlpdata lp,
int  rowind,
double  coef 
)

Definition at line 339 of file dbl_rawlp.c.

References dbl_colptr::coef, dbl_ILLcolptralloc(), dbl_colptr::next, dbl_rawlpdata::ptrworld, dbl_rawlpdata::ranges, dbl_rawlpdata::rangesind, and dbl_colptr::this_val.

Here is the call graph for this function:

int dbl_ILLraw_add_row ( dbl_rawlpdata lp,
const char *  name,
int  sense,
const double  rhs 
)

Definition at line 455 of file dbl_rawlp.c.

References ILL_CLEANUP_IF, ILL_RETURN, ILLsymboltab_register(), dbl_rawlpdata::nrows, dbl_rawlpdata::rhs, dbl_rawlpdata::rhssize, dbl_rawlpdata::rowsense, dbl_rawlpdata::rowtab, and dbl_rawlpdata::sensesize.

Here is the call graph for this function:

int dbl_ILLraw_add_sos ( dbl_rawlpdata lp,
int  tp 
)

Definition at line 358 of file dbl_rawlp.c.

References dbl_sosptr::first, ILL_RETURN, dbl_sosptr::nelem, dbl_rawlpdata::nsos, dbl_rawlpdata::sos_set, dbl_rawlpdata::sos_setsize, and dbl_sosptr::type.

int dbl_ILLraw_add_sos_member ( dbl_rawlpdata lp,
int  colind 
)

Definition at line 404 of file dbl_rawlp.c.

References dbl_ILLraw_is_mem_other_sos(), ILL_FAILfalse, ILL_FAILtrue, ILL_RETURN, and dbl_rawlpdata::nsos.

Here is the call graph for this function:

static int dbl_ILLraw_check_bounds ( dbl_rawlpdata lp  )  [static]

Definition at line 746 of file dbl_rawlp.c.

References dbl_ILLdata_error(), dbl_ILLraw_colname(), dbl_rawlpdata::error_collector, ILL_FAILtrue, dbl_rawlpdata::lbind, dbl_rawlpdata::lower, dbl_rawlpdata::ncols, NULL, dbl_rawlpdata::ubind, and dbl_rawlpdata::upper.

Here is the call graph for this function:

void dbl_ILLraw_clear_matrix ( dbl_rawlpdata lp  ) 

Definition at line 118 of file dbl_rawlp.c.

References dbl_rawlpdata::cols, dbl_rawlpdata::ncols, dbl_colptr::next, NULL, and dbl_rawlpdata::ptrworld.

const char* dbl_ILLraw_colname ( dbl_rawlpdata lp,
int  i 
)

Definition at line 213 of file dbl_rawlp.c.

References dbl_rawlpdata::coltab, ILL_FAILfalse_no_rval, ILLsymboltab_get(), dbl_rawlpdata::ncols, NULL, and ILLsymboltab::tablesize.

Here is the call graph for this function:

int dbl_ILLraw_default_lower ( dbl_ILLlpdata lp,
int  i 
)

Definition at line 786 of file dbl_rawlp.c.

References dbl_ILL_MINDOUBLE, ILL_FAILfalse_no_rval, ILL_FAILtrue_no_rval, dbl_ILLlpdata::lower, dbl_ILLlpdata::ncols, NULL, and dbl_ILLlpdata::upper.

int dbl_ILLraw_default_upper ( dbl_ILLlpdata lp,
int  i,
int  ri 
)

Definition at line 807 of file dbl_rawlp.c.

References dbl_ILL_MAXDOUBLE, ILL_FAILfalse_no_rval, ILL_FAILtrue_no_rval, dbl_ILLlpdata::intmarker, dbl_ILLlpdata::lower, dbl_ILLlpdata::ncols, NULL, and dbl_ILLlpdata::upper.

int dbl_ILLraw_fill_in_bounds ( dbl_rawlpdata lp  ) 

Definition at line 699 of file dbl_rawlp.c.

References dbl_ILL_MINDOUBLE, dbl_ILLraw_init_bounds(), ILL_FAILtrue, dbl_rawlpdata::lbind, dbl_rawlpdata::lower, dbl_rawlpdata::ncols, NULL, dbl_rawlpdata::ubind, and dbl_rawlpdata::upper.

Here is the call graph for this function:

int dbl_ILLraw_fill_in_rownames ( dbl_rawlpdata lp  ) 

Definition at line 834 of file dbl_rawlp.c.

References dbl_ILLdata_warn(), dbl_rawlpdata::error_collector, ILL_CLEANUP_IF, ILL_FAILtrue, ILL_namebufsize, ILL_RESULT, ILLsymboltab_get(), ILLsymboltab_rename(), ILLsymboltab_unique_name(), dbl_rawlpdata::nrows, NULL, dbl_rawlpdata::rowtab, and ILLsymboltab::tablesize.

Here is the call graph for this function:

int dbl_ILLraw_first_nondefault_bound ( dbl_ILLlpdata lp  ) 

Definition at line 769 of file dbl_rawlp.c.

References dbl_ILLraw_default_lower(), dbl_ILLraw_default_upper(), ILL_FAILtrue_no_rval, dbl_ILLlpdata::lower, dbl_ILLlpdata::nstruct, NULL, dbl_ILLlpdata::structmap, and dbl_ILLlpdata::upper.

Here is the call graph for this function:

int dbl_ILLraw_init_bounds ( dbl_rawlpdata lp  ) 

Definition at line 586 of file dbl_rawlp.c.

References ILL_FAILfalse, ILL_RETURN, ILL_SAFE_MALLOC, dbl_rawlpdata::lbind, dbl_rawlpdata::lower, dbl_rawlpdata::ncols, NULL, dbl_rawlpdata::ubind, and dbl_rawlpdata::upper.

int dbl_ILLraw_init_ranges ( dbl_rawlpdata lp  ) 

Definition at line 300 of file dbl_rawlp.c.

References ILL_FAILfalse, ILL_RETURN, ILL_SAFE_MALLOC, dbl_rawlpdata::nrows, NULL, and dbl_rawlpdata::rangesind.

int dbl_ILLraw_init_rhs ( dbl_rawlpdata lp  ) 

Definition at line 281 of file dbl_rawlp.c.

References ILL_FAILfalse, ILL_RETURN, ILL_SAFE_MALLOC, dbl_rawlpdata::nrows, NULL, and dbl_rawlpdata::rhsind.

int dbl_ILLraw_is_mem_other_sos ( dbl_rawlpdata lp,
int  colind 
)

Definition at line 396 of file dbl_rawlp.c.

References dbl_rawlpdata::is_sos_member, and dbl_rawlpdata::nsos.

const char* dbl_ILLraw_rowname ( dbl_rawlpdata lp,
int  i 
)

Definition at line 200 of file dbl_rawlp.c.

References ILL_FAILfalse_no_rval, ILLsymboltab_get(), dbl_rawlpdata::nrows, NULL, dbl_rawlpdata::rowtab, and ILLsymboltab::tablesize.

Here is the call graph for this function:

const char* dbl_ILLraw_set_binaryBound ( dbl_rawlpdata lp,
int  i 
)

Definition at line 682 of file dbl_rawlp.c.

References ILL_FAILtrue_no_rval, dbl_rawlpdata::lbind, dbl_rawlpdata::lower, dbl_rawlpdata::ncols, NULL, dbl_rawlpdata::ubind, and dbl_rawlpdata::upper.

int dbl_ILLraw_set_bounds_name ( dbl_rawlpdata lp,
const char *  name,
int *  skip 
)

Definition at line 1545 of file dbl_rawlp.c.

References dbl_rawlpdata::boundsname, and dbl_set_field_name().

Here is the call graph for this function:

const char* dbl_ILLraw_set_fixedBound ( dbl_rawlpdata lp,
int  i,
double  bnd 
)

Definition at line 647 of file dbl_rawlp.c.

References ILL_FAILtrue_no_rval, dbl_rawlpdata::lbind, dbl_rawlpdata::lower, dbl_rawlpdata::ncols, NULL, dbl_rawlpdata::ubind, and dbl_rawlpdata::upper.

const char* dbl_ILLraw_set_lowerBound ( dbl_rawlpdata lp,
int  i,
double  bnd 
)

Definition at line 610 of file dbl_rawlp.c.

References ILL_FAILtrue_no_rval, dbl_rawlpdata::lbind, dbl_rawlpdata::lower, dbl_rawlpdata::ncols, and NULL.

int dbl_ILLraw_set_ranges_name ( dbl_rawlpdata lp,
const char *  name,
int *  skip 
)

Definition at line 1553 of file dbl_rawlp.c.

References dbl_set_field_name(), and dbl_rawlpdata::rangesname.

Here is the call graph for this function:

int dbl_ILLraw_set_rhs_name ( dbl_rawlpdata lp,
const char *  name,
int *  skip 
)

Definition at line 1537 of file dbl_rawlp.c.

References dbl_set_field_name(), and dbl_rawlpdata::rhsname.

Here is the call graph for this function:

const char* dbl_ILLraw_set_unbound ( dbl_rawlpdata lp,
int  i 
)

Definition at line 665 of file dbl_rawlp.c.

References dbl_ILL_MAXDOUBLE, dbl_ILL_MINDOUBLE, ILL_FAILtrue_no_rval, dbl_rawlpdata::lbind, dbl_rawlpdata::lower, dbl_rawlpdata::ncols, NULL, dbl_rawlpdata::ubind, and dbl_rawlpdata::upper.

const char* dbl_ILLraw_set_upperBound ( dbl_rawlpdata lp,
int  i,
double  bnd 
)

Definition at line 626 of file dbl_rawlp.c.

References ILL_FAILtrue_no_rval, dbl_rawlpdata::lower, dbl_rawlpdata::ncols, NULL, dbl_rawlpdata::ubind, and dbl_rawlpdata::upper.

int dbl_ILLrawlpdata_to_lpdata ( dbl_rawlpdata raw,
dbl_ILLlpdata lp 
)

Definition at line 1495 of file dbl_rawlp.c.

References dbl_convert_rawlpdata_to_lpdata(), dbl_ILLlp_add_logicals(), dbl_ILLprint_rawlpdata(), ILL_IFDOTRACE, and ILL_RESULT.

Here is the call graph for this function:

static int dbl_initStructmap ( dbl_ILLlpdata lp  )  [static]

Definition at line 1327 of file dbl_rawlp.c.

References ILL_RETURN, ILL_SAFE_MALLOC, dbl_ILLlpdata::nstruct, and dbl_ILLlpdata::structmap.

Referenced by dbl_convert_rawlpdata_to_lpdata().

static void dbl_safeRegister ( ILLsymboltab tab,
const char *  name,
int  i 
) [static]

Definition at line 1063 of file dbl_rawlp.c.

References ILL_FAILfalse, and ILLsymboltab_register().

Referenced by dbl_transferSenseRhsRowNames().

Here is the call graph for this function:

static int dbl_set_field_name ( char **  field,
const char *  name,
int *  skip 
) [static]

Definition at line 1514 of file dbl_rawlp.c.

References dbl_ILL_UTIL_STR, and ILL_RETURN.

Referenced by dbl_ILLraw_set_bounds_name(), dbl_ILLraw_set_ranges_name(), and dbl_ILLraw_set_rhs_name().

static int dbl_transferColNamesLowerUpperIntMarker ( dbl_rawlpdata raw,
dbl_ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 997 of file dbl_rawlp.c.

References dbl_ILLlpdata::colnames, dbl_ILLlpdata::coltab, dbl_ILL_UTIL_STR, dbl_ILLraw_colname(), ILL_FAILfalse, ILL_IFDOTRACE, ILL_IFFREE, ILL_IFTRACE, ILL_RETURN, ILL_SAFE_MALLOC, ILLsymboltab_register(), dbl_rawlpdata::intmarker, dbl_ILLlpdata::intmarker, dbl_ILLlpdata::lower, dbl_rawlpdata::lower, dbl_rawlpdata::ncols, dbl_ILLlpdata::ncols, dbl_ILLlpdata::upper, and dbl_rawlpdata::upper.

Referenced by dbl_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int dbl_transferObjective ( dbl_rawlpdata raw,
dbl_ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 948 of file dbl_rawlp.c.

References dbl_colptr::coef, dbl_rawlpdata::cols, dbl_ILLdata_warn(), dbl_ILLraw_colname(), dbl_rawlpdata::error_collector, ILL_FAILfalse, ILL_SAFE_MALLOC, dbl_rawlpdata::ncols, dbl_ILLlpdata::ncols, dbl_colptr::next, NULL, dbl_ILLlpdata::obj, dbl_rawlpdata::objindex, and dbl_colptr::this_val.

Referenced by dbl_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int dbl_transferRanges ( dbl_rawlpdata raw,
dbl_ILLlpdata lp,
int *  rowindex 
) [static]

Definition at line 1258 of file dbl_rawlp.c.

References dbl_colptr::coef, dbl_ILLdata_error(), dbl_rawlpdata::error_collector, dbl_colptr::next, dbl_ILLlpdata::nrows, dbl_rawlpdata::ranges, dbl_ILLlpdata::rangeval, dbl_ILLlpdata::rhs, dbl_rawlpdata::rowsense, dbl_ILLlpdata::sense, and dbl_colptr::this_val.

Referenced by dbl_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int dbl_transferSenseRhsRowNames ( dbl_rawlpdata raw,
dbl_ILLlpdata lp,
int *  rowindex 
) [static]

Definition at line 1077 of file dbl_rawlp.c.

References dbl_ILL_UTIL_STR, dbl_ILLraw_rowname(), dbl_safeRegister(), ILL_FAILfalse, ILL_SAFE_MALLOC, dbl_ILLlpdata::nrows, NULL, dbl_rawlpdata::objindex, dbl_ILLlpdata::objname, dbl_ILLlpdata::refind, dbl_ILLlpdata::refrowname, dbl_ILLlpdata::rhs, dbl_ILLlpdata::rownames, dbl_ILLlpdata::rowtab, and dbl_ILLlpdata::sense.

Referenced by dbl_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int dbl_whichColsAreUsed ( dbl_rawlpdata raw,
dbl_ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 864 of file dbl_rawlp.c.

References dbl_rawlpdata::cols, ILL_SAFE_MALLOC, dbl_rawlpdata::ncols, dbl_colptr::next, NULL, dbl_rawlpdata::objindex, dbl_rawlpdata::rowsense, and dbl_colptr::this_val.

Referenced by dbl_convert_rawlpdata_to_lpdata().

static int dbl_whichRowsAreUsed ( dbl_rawlpdata raw,
dbl_ILLlpdata lp,
int *  rowindex 
) [static]

Definition at line 921 of file dbl_rawlp.c.

References dbl_ILLlpdata::nrows, dbl_rawlpdata::nrows, and dbl_rawlpdata::rowsense.

Referenced by dbl_convert_rawlpdata_to_lpdata().

ILL_PTRWORLD_ROUTINES ( ILL_PTRWORLD_LISTFREE_ROUTINE (  dbl_colptr,
colptralloc  ,
colptr_bulkalloc  ,
colptrfree   
)

Definition at line 40 of file dbl_rawlp.c.

References dbl_ILL_MAXDOUBLE, and dbl_ILL_MINDOUBLE.


Variable Documentation

int TRACE = 0 [static]

Definition at line 38 of file dbl_rawlp.c.


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