fp20_rawlp.c File Reference

#include "qs_config.h"
#include "config.h"
#include "fp20_sortrus.h"
#include "fp20_iqsutil.h"
#include "fp20_rawlp.h"
#include "allocrus.h"

Include dependency graph for fp20_rawlp.c:

Go to the source code of this file.

Functions

static int fp20_buildMatrix (fp20_rawlpdata *raw, fp20_ILLlpdata *lp, int *rowindex, int *colindex)
static int fp20_buildSosInfo (fp20_rawlpdata *raw, fp20_ILLlpdata *lp, int *colindex)
static int fp20_convert_rawlpdata_to_lpdata (fp20_rawlpdata *raw, fp20_ILLlpdata *lp)
static int fp20_ILLcheck_rawlpdata (fp20_rawlpdata *lp)
fp20_colptrfp20_ILLcolptralloc (ILLptrworld *p)
int fp20_ILLdata_error (fp20_qserror_collector *collector, const char *format,...)
void fp20_ILLdata_warn (fp20_qserror_collector *collector, const char *format,...)
void fp20_ILLfree_rawlpdata (fp20_rawlpdata *lp)
void fp20_ILLinit_rawlpdata (fp20_rawlpdata *lp, fp20_qserror_collector *collector)
static int fp20_ILLmsg (fp20_qserror_collector *collector, int isError, const char *format, va_list args)
void fp20_ILLprint_rawlpdata (fp20_rawlpdata *lp)
int fp20_ILLraw_add_col (fp20_rawlpdata *lp, const char *name, int intmarker)
int fp20_ILLraw_add_col_coef (fp20_rawlpdata *lp, int colind, int rowind, EGfp20_t coef)
int fp20_ILLraw_add_ranges_coef (fp20_rawlpdata *lp, int rowind, EGfp20_t coef)
int fp20_ILLraw_add_row (fp20_rawlpdata *lp, const char *name, int sense, const EGfp20_t rhs)
int fp20_ILLraw_add_sos (fp20_rawlpdata *lp, int tp)
int fp20_ILLraw_add_sos_member (fp20_rawlpdata *lp, int colind)
static int fp20_ILLraw_check_bounds (fp20_rawlpdata *lp)
void fp20_ILLraw_clear_matrix (fp20_rawlpdata *lp)
const char * fp20_ILLraw_colname (fp20_rawlpdata *lp, int i)
int fp20_ILLraw_default_lower (fp20_ILLlpdata *lp, int i)
int fp20_ILLraw_default_upper (fp20_ILLlpdata *lp, int i, int ri)
int fp20_ILLraw_fill_in_bounds (fp20_rawlpdata *lp)
int fp20_ILLraw_fill_in_rownames (fp20_rawlpdata *lp)
int fp20_ILLraw_first_nondefault_bound (fp20_ILLlpdata *lp)
int fp20_ILLraw_init_bounds (fp20_rawlpdata *lp)
int fp20_ILLraw_init_ranges (fp20_rawlpdata *lp)
int fp20_ILLraw_init_rhs (fp20_rawlpdata *lp)
int fp20_ILLraw_is_mem_other_sos (fp20_rawlpdata *lp, int colind)
const char * fp20_ILLraw_rowname (fp20_rawlpdata *lp, int i)
const char * fp20_ILLraw_set_binaryBound (fp20_rawlpdata *lp, int i)
int fp20_ILLraw_set_bounds_name (fp20_rawlpdata *lp, const char *name, int *skip)
const char * fp20_ILLraw_set_fixedBound (fp20_rawlpdata *lp, int i, EGfp20_t bnd)
const char * fp20_ILLraw_set_lowerBound (fp20_rawlpdata *lp, int i, EGfp20_t bnd)
int fp20_ILLraw_set_ranges_name (fp20_rawlpdata *lp, const char *name, int *skip)
int fp20_ILLraw_set_rhs_name (fp20_rawlpdata *lp, const char *name, int *skip)
const char * fp20_ILLraw_set_unbound (fp20_rawlpdata *lp, int i)
const char * fp20_ILLraw_set_upperBound (fp20_rawlpdata *lp, int i, EGfp20_t bnd)
int fp20_ILLrawlpdata_to_lpdata (fp20_rawlpdata *raw, fp20_ILLlpdata *lp)
static int fp20_initStructmap (fp20_ILLlpdata *lp)
static void fp20_safeRegister (ILLsymboltab *tab, const char *name, int i)
static int fp20_set_field_name (char **field, const char *name, int *skip)
static int fp20_transferColNamesLowerUpperIntMarker (fp20_rawlpdata *raw, fp20_ILLlpdata *lp, int *colindex)
static int fp20_transferObjective (fp20_rawlpdata *raw, fp20_ILLlpdata *lp, int *colindex)
static int fp20_transferRanges (fp20_rawlpdata *raw, fp20_ILLlpdata *lp, int *rowindex)
static int fp20_transferSenseRhsRowNames (fp20_rawlpdata *raw, fp20_ILLlpdata *lp, int *rowindex)
static int fp20_whichColsAreUsed (fp20_rawlpdata *raw, fp20_ILLlpdata *lp, int *colindex)
static int fp20_whichRowsAreUsed (fp20_rawlpdata *raw, fp20_ILLlpdata *lp, int *rowindex)
 ILL_PTRWORLD_ROUTINES (ILL_PTRWORLD_LISTFREE_ROUTINE(fp20_colptr, colptralloc, colptr_bulkalloc, colptrfree)

Variables

static int TRACE = 0


Function Documentation

static int fp20_buildMatrix ( fp20_rawlpdata raw,
fp20_ILLlpdata lp,
int *  rowindex,
int *  colindex 
) [static]

Definition at line 1131 of file fp20_rawlp.c.

References fp20_ILLlpdata::A, fp20_ILLlpdata::colnames, fp20_rawlpdata::cols, fp20_rawlpdata::error_collector, fp20_ILLdata_warn(), ILL_SAFE_MALLOC, fp20_ILLmatrix::matbeg, fp20_ILLmatrix::matcnt, fp20_rawlpdata::ncols, fp20_ILLlpdata::ncols, fp20_colptr::next, fp20_ILLlpdata::nrows, NULL, fp20_ILLlpdata::nzcount, and fp20_colptr::this_val.

Referenced by fp20_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int fp20_buildSosInfo ( fp20_rawlpdata raw,
fp20_ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 1344 of file fp20_rawlp.c.

References fp20_sosptr::first, ILL_SAFE_MALLOC, fp20_ILLlpdata::is_sos_mem, fp20_rawlpdata::is_sos_member, fp20_ILLmatrix::matbeg, fp20_ILLmatrix::matcnt, fp20_ILLmatrix::matcols, fp20_ILLmatrix::matcolsize, fp20_ILLmatrix::matfree, fp20_ILLmatrix::matind, fp20_ILLmatrix::matrows, fp20_ILLmatrix::matsize, fp20_ILLmatrix::matval, fp20_rawlpdata::ncols, fp20_ILLlpdata::ncols, fp20_sosptr::nelem, fp20_rawlpdata::nsos, fp20_ILLlpdata::sos, fp20_rawlpdata::sos_col, fp20_rawlpdata::sos_set, fp20_ILLlpdata::sos_type, fp20_rawlpdata::sos_weight, and fp20_sosptr::type.

Referenced by fp20_convert_rawlpdata_to_lpdata().

static int fp20_convert_rawlpdata_to_lpdata ( fp20_rawlpdata raw,
fp20_ILLlpdata lp 
) [static]

Definition at line 1407 of file fp20_rawlp.c.

References fp20_ILLlpdata::A, fp20_ILLlpdata::colsize, fp20_ILLlpdata::coltab, fp20_rawlpdata::error_collector, fp20_buildMatrix(), fp20_buildSosInfo(), fp20_ILL_MAX, fp20_ILL_MIN, fp20_ILL_UTIL_STR, fp20_ILLcheck_rawlpdata(), fp20_ILLdata_error(), fp20_ILLdata_warn(), fp20_ILLfree_rawlpdata(), fp20_ILLlpdata_init(), fp20_ILLmatrix_prt(), fp20_initStructmap(), fp20_transferColNamesLowerUpperIntMarker(), fp20_transferObjective(), fp20_transferRanges(), fp20_transferSenseRhsRowNames(), fp20_whichColsAreUsed(), fp20_whichRowsAreUsed(), ILL_CLEANUP_IF, ILL_FAILfalse, ILL_FAILtrue, ILL_IFDOTRACE, ILL_IFFREE, ILL_RESULT, ILL_SAFE_MALLOC, ILLsymboltab_create(), fp20_rawlpdata::name, fp20_ILLlpdata::ncols, fp20_rawlpdata::ncols, fp20_ILLlpdata::nrows, fp20_rawlpdata::nrows, fp20_ILLlpdata::nstruct, NULL, fp20_rawlpdata::objindex, fp20_rawlpdata::objsense, fp20_ILLlpdata::objsense, fp20_ILLlpdata::probname, fp20_rawlpdata::ranges, fp20_ILLlpdata::rowsize, fp20_ILLlpdata::rowtab, and fp20_ILLlpdata::structsize.

Referenced by fp20_ILLrawlpdata_to_lpdata().

Here is the call graph for this function:

static int fp20_ILLcheck_rawlpdata ( fp20_rawlpdata lp  )  [static]

Definition at line 496 of file fp20_rawlp.c.

References fp20_rawlpdata::error_collector, fp20_sosptr::first, fp20_ILLdata_error(), fp20_ILLraw_colname(), fp20_ILLraw_rowname(), fp20_ILLutil_EGlpNum_perm_quicksort(), ILL_FAILfalse, ILL_SAFE_MALLOC, fp20_rawlpdata::ncols, fp20_sosptr::nelem, NULL, and fp20_rawlpdata::objindex.

Referenced by fp20_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

fp20_colptr* fp20_ILLcolptralloc ( ILLptrworld p  ) 

Definition at line 1753 of file fp20_rawlp.c.

References fp20_colptr::coef.

int fp20_ILLdata_error ( fp20_qserror_collector collector,
const char *  format,
  ... 
)

Definition at line 1731 of file fp20_rawlp.c.

References fp20_ILLmsg(), and fp20_TRUE.

Here is the call graph for this function:

void fp20_ILLdata_warn ( fp20_qserror_collector collector,
const char *  format,
  ... 
)

Definition at line 1742 of file fp20_rawlp.c.

References fp20_FALSE, and fp20_ILLmsg().

Here is the call graph for this function:

void fp20_ILLfree_rawlpdata ( fp20_rawlpdata lp  ) 

Definition at line 144 of file fp20_rawlp.c.

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

Here is the call graph for this function:

void fp20_ILLinit_rawlpdata ( fp20_rawlpdata lp,
fp20_qserror_collector collector 
)

Definition at line 70 of file fp20_rawlp.c.

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

Here is the call graph for this function:

static int fp20_ILLmsg ( fp20_qserror_collector collector,
int  isError,
const char *  format,
va_list  args 
) [static]

Definition at line 1697 of file fp20_rawlp.c.

References fp20_ILLformat_error, fp20_ILLformat_error_create(), fp20_ILLformat_error_delete(), NULL, QS_DATA_ERROR, and QS_DATA_WARN.

Referenced by fp20_ILLdata_error(), and fp20_ILLdata_warn().

Here is the call graph for this function:

void fp20_ILLprint_rawlpdata ( fp20_rawlpdata lp  ) 

Definition at line 1561 of file fp20_rawlp.c.

References fp20_colptr::coef, fp20_rawlpdata::cols, fp20_ILLraw_colname(), fp20_ILLraw_rowname(), fp20_rawlpdata::name, fp20_rawlpdata::ncols, fp20_colptr::next, fp20_rawlpdata::nrows, fp20_rawlpdata::rhs, fp20_rawlpdata::rowsense, and fp20_colptr::this_val.

Here is the call graph for this function:

int fp20_ILLraw_add_col ( fp20_rawlpdata lp,
const char *  name,
int  intmarker 
)

Definition at line 227 of file fp20_rawlp.c.

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

Here is the call graph for this function:

int fp20_ILLraw_add_col_coef ( fp20_rawlpdata lp,
int  colind,
int  rowind,
EGfp20_t  coef 
)

Definition at line 319 of file fp20_rawlp.c.

References fp20_colptr::coef, fp20_rawlpdata::cols, fp20_ILLcolptralloc(), fp20_colptr::next, fp20_rawlpdata::ptrworld, and fp20_colptr::this_val.

Here is the call graph for this function:

int fp20_ILLraw_add_ranges_coef ( fp20_rawlpdata lp,
int  rowind,
EGfp20_t  coef 
)

Definition at line 339 of file fp20_rawlp.c.

References fp20_colptr::coef, fp20_ILLcolptralloc(), fp20_colptr::next, fp20_rawlpdata::ptrworld, fp20_rawlpdata::ranges, fp20_rawlpdata::rangesind, and fp20_colptr::this_val.

Here is the call graph for this function:

int fp20_ILLraw_add_row ( fp20_rawlpdata lp,
const char *  name,
int  sense,
const EGfp20_t  rhs 
)

Definition at line 455 of file fp20_rawlp.c.

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

Here is the call graph for this function:

int fp20_ILLraw_add_sos ( fp20_rawlpdata lp,
int  tp 
)

Definition at line 358 of file fp20_rawlp.c.

References fp20_sosptr::first, ILL_RETURN, fp20_sosptr::nelem, fp20_rawlpdata::nsos, fp20_rawlpdata::sos_set, fp20_rawlpdata::sos_setsize, and fp20_sosptr::type.

int fp20_ILLraw_add_sos_member ( fp20_rawlpdata lp,
int  colind 
)

Definition at line 404 of file fp20_rawlp.c.

References fp20_ILLraw_is_mem_other_sos(), ILL_FAILfalse, ILL_FAILtrue, ILL_RETURN, and fp20_rawlpdata::nsos.

Here is the call graph for this function:

static int fp20_ILLraw_check_bounds ( fp20_rawlpdata lp  )  [static]

Definition at line 746 of file fp20_rawlp.c.

References fp20_rawlpdata::error_collector, fp20_ILLdata_error(), fp20_ILLraw_colname(), ILL_FAILtrue, fp20_rawlpdata::lbind, fp20_rawlpdata::lower, fp20_rawlpdata::ncols, NULL, fp20_rawlpdata::ubind, and fp20_rawlpdata::upper.

Here is the call graph for this function:

void fp20_ILLraw_clear_matrix ( fp20_rawlpdata lp  ) 

Definition at line 118 of file fp20_rawlp.c.

References fp20_rawlpdata::cols, fp20_rawlpdata::ncols, fp20_colptr::next, NULL, and fp20_rawlpdata::ptrworld.

const char* fp20_ILLraw_colname ( fp20_rawlpdata lp,
int  i 
)

Definition at line 213 of file fp20_rawlp.c.

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

Here is the call graph for this function:

int fp20_ILLraw_default_lower ( fp20_ILLlpdata lp,
int  i 
)

Definition at line 786 of file fp20_rawlp.c.

References fp20_ILL_MINDOUBLE, ILL_FAILfalse_no_rval, ILL_FAILtrue_no_rval, fp20_ILLlpdata::lower, fp20_ILLlpdata::ncols, NULL, and fp20_ILLlpdata::upper.

int fp20_ILLraw_default_upper ( fp20_ILLlpdata lp,
int  i,
int  ri 
)

Definition at line 807 of file fp20_rawlp.c.

References fp20_ILL_MAXDOUBLE, ILL_FAILfalse_no_rval, ILL_FAILtrue_no_rval, fp20_ILLlpdata::intmarker, fp20_ILLlpdata::lower, fp20_ILLlpdata::ncols, NULL, and fp20_ILLlpdata::upper.

int fp20_ILLraw_fill_in_bounds ( fp20_rawlpdata lp  ) 

Definition at line 699 of file fp20_rawlp.c.

References fp20_ILL_MINDOUBLE, fp20_ILLraw_init_bounds(), ILL_FAILtrue, fp20_rawlpdata::lbind, fp20_rawlpdata::lower, fp20_rawlpdata::ncols, NULL, fp20_rawlpdata::ubind, and fp20_rawlpdata::upper.

Here is the call graph for this function:

int fp20_ILLraw_fill_in_rownames ( fp20_rawlpdata lp  ) 

Definition at line 834 of file fp20_rawlp.c.

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

Here is the call graph for this function:

int fp20_ILLraw_first_nondefault_bound ( fp20_ILLlpdata lp  ) 

Definition at line 769 of file fp20_rawlp.c.

References fp20_ILLraw_default_lower(), fp20_ILLraw_default_upper(), ILL_FAILtrue_no_rval, fp20_ILLlpdata::lower, fp20_ILLlpdata::nstruct, NULL, fp20_ILLlpdata::structmap, and fp20_ILLlpdata::upper.

Here is the call graph for this function:

int fp20_ILLraw_init_bounds ( fp20_rawlpdata lp  ) 

Definition at line 586 of file fp20_rawlp.c.

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

int fp20_ILLraw_init_ranges ( fp20_rawlpdata lp  ) 

Definition at line 300 of file fp20_rawlp.c.

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

int fp20_ILLraw_init_rhs ( fp20_rawlpdata lp  ) 

Definition at line 281 of file fp20_rawlp.c.

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

int fp20_ILLraw_is_mem_other_sos ( fp20_rawlpdata lp,
int  colind 
)

Definition at line 396 of file fp20_rawlp.c.

References fp20_rawlpdata::is_sos_member, and fp20_rawlpdata::nsos.

const char* fp20_ILLraw_rowname ( fp20_rawlpdata lp,
int  i 
)

Definition at line 200 of file fp20_rawlp.c.

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

Here is the call graph for this function:

const char* fp20_ILLraw_set_binaryBound ( fp20_rawlpdata lp,
int  i 
)

Definition at line 682 of file fp20_rawlp.c.

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

int fp20_ILLraw_set_bounds_name ( fp20_rawlpdata lp,
const char *  name,
int *  skip 
)

Definition at line 1545 of file fp20_rawlp.c.

References fp20_rawlpdata::boundsname, and fp20_set_field_name().

Here is the call graph for this function:

const char* fp20_ILLraw_set_fixedBound ( fp20_rawlpdata lp,
int  i,
EGfp20_t  bnd 
)

Definition at line 647 of file fp20_rawlp.c.

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

const char* fp20_ILLraw_set_lowerBound ( fp20_rawlpdata lp,
int  i,
EGfp20_t  bnd 
)

Definition at line 610 of file fp20_rawlp.c.

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

int fp20_ILLraw_set_ranges_name ( fp20_rawlpdata lp,
const char *  name,
int *  skip 
)

Definition at line 1553 of file fp20_rawlp.c.

References fp20_set_field_name(), and fp20_rawlpdata::rangesname.

Here is the call graph for this function:

int fp20_ILLraw_set_rhs_name ( fp20_rawlpdata lp,
const char *  name,
int *  skip 
)

Definition at line 1537 of file fp20_rawlp.c.

References fp20_set_field_name(), and fp20_rawlpdata::rhsname.

Here is the call graph for this function:

const char* fp20_ILLraw_set_unbound ( fp20_rawlpdata lp,
int  i 
)

Definition at line 665 of file fp20_rawlp.c.

References fp20_ILL_MAXDOUBLE, fp20_ILL_MINDOUBLE, ILL_FAILtrue_no_rval, fp20_rawlpdata::lbind, fp20_rawlpdata::lower, fp20_rawlpdata::ncols, NULL, fp20_rawlpdata::ubind, and fp20_rawlpdata::upper.

const char* fp20_ILLraw_set_upperBound ( fp20_rawlpdata lp,
int  i,
EGfp20_t  bnd 
)

Definition at line 626 of file fp20_rawlp.c.

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

int fp20_ILLrawlpdata_to_lpdata ( fp20_rawlpdata raw,
fp20_ILLlpdata lp 
)

Definition at line 1495 of file fp20_rawlp.c.

References fp20_convert_rawlpdata_to_lpdata(), fp20_ILLlp_add_logicals(), fp20_ILLprint_rawlpdata(), ILL_IFDOTRACE, and ILL_RESULT.

Here is the call graph for this function:

static int fp20_initStructmap ( fp20_ILLlpdata lp  )  [static]

Definition at line 1327 of file fp20_rawlp.c.

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

Referenced by fp20_convert_rawlpdata_to_lpdata().

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

Definition at line 1063 of file fp20_rawlp.c.

References ILL_FAILfalse, and ILLsymboltab_register().

Referenced by fp20_transferSenseRhsRowNames().

Here is the call graph for this function:

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

Definition at line 1514 of file fp20_rawlp.c.

References fp20_ILL_UTIL_STR, and ILL_RETURN.

Referenced by fp20_ILLraw_set_bounds_name(), fp20_ILLraw_set_ranges_name(), and fp20_ILLraw_set_rhs_name().

static int fp20_transferColNamesLowerUpperIntMarker ( fp20_rawlpdata raw,
fp20_ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 997 of file fp20_rawlp.c.

References fp20_ILLlpdata::colnames, fp20_ILLlpdata::coltab, fp20_ILL_UTIL_STR, fp20_ILLraw_colname(), ILL_FAILfalse, ILL_IFDOTRACE, ILL_IFFREE, ILL_IFTRACE, ILL_RETURN, ILL_SAFE_MALLOC, ILLsymboltab_register(), fp20_rawlpdata::intmarker, fp20_ILLlpdata::intmarker, fp20_ILLlpdata::lower, fp20_rawlpdata::lower, fp20_rawlpdata::ncols, fp20_ILLlpdata::ncols, fp20_ILLlpdata::upper, and fp20_rawlpdata::upper.

Referenced by fp20_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int fp20_transferObjective ( fp20_rawlpdata raw,
fp20_ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 948 of file fp20_rawlp.c.

References fp20_colptr::coef, fp20_rawlpdata::cols, fp20_rawlpdata::error_collector, fp20_ILLdata_warn(), fp20_ILLraw_colname(), ILL_FAILfalse, ILL_SAFE_MALLOC, fp20_rawlpdata::ncols, fp20_ILLlpdata::ncols, fp20_colptr::next, NULL, fp20_ILLlpdata::obj, fp20_rawlpdata::objindex, and fp20_colptr::this_val.

Referenced by fp20_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int fp20_transferRanges ( fp20_rawlpdata raw,
fp20_ILLlpdata lp,
int *  rowindex 
) [static]

Definition at line 1258 of file fp20_rawlp.c.

References fp20_colptr::coef, fp20_rawlpdata::error_collector, fp20_ILLdata_error(), fp20_colptr::next, fp20_ILLlpdata::nrows, fp20_rawlpdata::ranges, fp20_ILLlpdata::rangeval, fp20_ILLlpdata::rhs, fp20_rawlpdata::rowsense, fp20_ILLlpdata::sense, and fp20_colptr::this_val.

Referenced by fp20_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int fp20_transferSenseRhsRowNames ( fp20_rawlpdata raw,
fp20_ILLlpdata lp,
int *  rowindex 
) [static]

Definition at line 1077 of file fp20_rawlp.c.

References fp20_ILL_UTIL_STR, fp20_ILLraw_rowname(), fp20_safeRegister(), ILL_FAILfalse, ILL_SAFE_MALLOC, fp20_ILLlpdata::nrows, NULL, fp20_rawlpdata::objindex, fp20_ILLlpdata::objname, fp20_ILLlpdata::refind, fp20_ILLlpdata::refrowname, fp20_ILLlpdata::rhs, fp20_ILLlpdata::rownames, fp20_ILLlpdata::rowtab, and fp20_ILLlpdata::sense.

Referenced by fp20_convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int fp20_whichColsAreUsed ( fp20_rawlpdata raw,
fp20_ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 864 of file fp20_rawlp.c.

References fp20_rawlpdata::cols, ILL_SAFE_MALLOC, fp20_rawlpdata::ncols, fp20_colptr::next, NULL, fp20_rawlpdata::objindex, fp20_rawlpdata::rowsense, and fp20_colptr::this_val.

Referenced by fp20_convert_rawlpdata_to_lpdata().

static int fp20_whichRowsAreUsed ( fp20_rawlpdata raw,
fp20_ILLlpdata lp,
int *  rowindex 
) [static]

Definition at line 921 of file fp20_rawlp.c.

References fp20_ILLlpdata::nrows, fp20_rawlpdata::nrows, and fp20_rawlpdata::rowsense.

Referenced by fp20_convert_rawlpdata_to_lpdata().

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

Definition at line 40 of file fp20_rawlp.c.

References fp20_ILL_MAXDOUBLE, and fp20_ILL_MINDOUBLE.


Variable Documentation

int TRACE = 0 [static]

Definition at line 38 of file fp20_rawlp.c.


Generated on Thu Mar 29 09:38:55 2012 for QSopt_ex by  doxygen 1.4.7