rawlp.c File Reference

#include "qs_config.h"
#include "config.h"
#include "sortrus.h"
#include "iqsutil.h"
#include "rawlp.h"
#include "allocrus.h"

Include dependency graph for rawlp.c:

Go to the source code of this file.

Functions

static int buildMatrix (rawlpdata *raw, ILLlpdata *lp, int *rowindex, int *colindex)
static int buildSosInfo (rawlpdata *raw, ILLlpdata *lp, int *colindex)
static int convert_rawlpdata_to_lpdata (rawlpdata *raw, ILLlpdata *lp)
 ILL_PTRWORLD_ROUTINES (ILL_PTRWORLD_LISTFREE_ROUTINE(colptr, colptralloc, colptr_bulkalloc, colptrfree)
static int ILLcheck_rawlpdata (rawlpdata *lp)
colptrILLcolptralloc (ILLptrworld *p)
int ILLdata_error (qserror_collector *collector, const char *format,...)
void ILLdata_warn (qserror_collector *collector, const char *format,...)
void ILLfree_rawlpdata (rawlpdata *lp)
void ILLinit_rawlpdata (rawlpdata *lp, qserror_collector *collector)
static int ILLmsg (qserror_collector *collector, int isError, const char *format, va_list args)
void ILLprint_rawlpdata (rawlpdata *lp)
int ILLraw_add_col (rawlpdata *lp, const char *name, int intmarker)
int ILLraw_add_col_coef (rawlpdata *lp, int colind, int rowind, EGlpNum_t coef)
int ILLraw_add_ranges_coef (rawlpdata *lp, int rowind, EGlpNum_t coef)
int ILLraw_add_row (rawlpdata *lp, const char *name, int sense, const EGlpNum_t rhs)
int ILLraw_add_sos (rawlpdata *lp, int tp)
int ILLraw_add_sos_member (rawlpdata *lp, int colind)
static int ILLraw_check_bounds (rawlpdata *lp)
void ILLraw_clear_matrix (rawlpdata *lp)
const char * ILLraw_colname (rawlpdata *lp, int i)
int ILLraw_default_lower (ILLlpdata *lp, int i)
int ILLraw_default_upper (ILLlpdata *lp, int i, int ri)
int ILLraw_fill_in_bounds (rawlpdata *lp)
int ILLraw_fill_in_rownames (rawlpdata *lp)
int ILLraw_first_nondefault_bound (ILLlpdata *lp)
int ILLraw_init_bounds (rawlpdata *lp)
int ILLraw_init_ranges (rawlpdata *lp)
int ILLraw_init_rhs (rawlpdata *lp)
int ILLraw_is_mem_other_sos (rawlpdata *lp, int colind)
const char * ILLraw_rowname (rawlpdata *lp, int i)
const char * ILLraw_set_binaryBound (rawlpdata *lp, int i)
int ILLraw_set_bounds_name (rawlpdata *lp, const char *name, int *skip)
const char * ILLraw_set_fixedBound (rawlpdata *lp, int i, EGlpNum_t bnd)
const char * ILLraw_set_lowerBound (rawlpdata *lp, int i, EGlpNum_t bnd)
int ILLraw_set_ranges_name (rawlpdata *lp, const char *name, int *skip)
int ILLraw_set_rhs_name (rawlpdata *lp, const char *name, int *skip)
const char * ILLraw_set_unbound (rawlpdata *lp, int i)
const char * ILLraw_set_upperBound (rawlpdata *lp, int i, EGlpNum_t bnd)
int ILLrawlpdata_to_lpdata (rawlpdata *raw, ILLlpdata *lp)
static int initStructmap (ILLlpdata *lp)
static void safeRegister (ILLsymboltab *tab, const char *name, int i)
static int set_field_name (char **field, const char *name, int *skip)
static int transferColNamesLowerUpperIntMarker (rawlpdata *raw, ILLlpdata *lp, int *colindex)
static int transferObjective (rawlpdata *raw, ILLlpdata *lp, int *colindex)
static int transferRanges (rawlpdata *raw, ILLlpdata *lp, int *rowindex)
static int transferSenseRhsRowNames (rawlpdata *raw, ILLlpdata *lp, int *rowindex)
static int whichColsAreUsed (rawlpdata *raw, ILLlpdata *lp, int *colindex)
static int whichRowsAreUsed (rawlpdata *raw, ILLlpdata *lp, int *rowindex)

Variables

static int TRACE = 0


Function Documentation

static int buildMatrix ( rawlpdata raw,
ILLlpdata lp,
int *  rowindex,
int *  colindex 
) [static]

Definition at line 1131 of file rawlp.c.

References ILLlpdata::A, ILLlpdata::colnames, rawlpdata::cols, rawlpdata::error_collector, ILL_SAFE_MALLOC, ILLdata_warn(), ILLmatrix::matbeg, ILLmatrix::matcnt, rawlpdata::ncols, ILLlpdata::ncols, colptr::next, ILLlpdata::nrows, NULL, ILLlpdata::nzcount, and colptr::this_val.

Referenced by convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int buildSosInfo ( rawlpdata raw,
ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 1344 of file rawlp.c.

References sosptr::first, ILL_SAFE_MALLOC, ILLlpdata::is_sos_mem, rawlpdata::is_sos_member, ILLmatrix::matbeg, ILLmatrix::matcnt, ILLmatrix::matcols, ILLmatrix::matcolsize, ILLmatrix::matfree, ILLmatrix::matind, ILLmatrix::matrows, ILLmatrix::matsize, ILLmatrix::matval, rawlpdata::ncols, ILLlpdata::ncols, sosptr::nelem, rawlpdata::nsos, ILLlpdata::sos, rawlpdata::sos_col, rawlpdata::sos_set, ILLlpdata::sos_type, rawlpdata::sos_weight, and sosptr::type.

Referenced by convert_rawlpdata_to_lpdata().

static int convert_rawlpdata_to_lpdata ( rawlpdata raw,
ILLlpdata lp 
) [static]

Definition at line 1407 of file rawlp.c.

References ILLlpdata::A, buildMatrix(), buildSosInfo(), ILLlpdata::colsize, ILLlpdata::coltab, rawlpdata::error_collector, ILL_CLEANUP_IF, ILL_FAILfalse, ILL_FAILtrue, ILL_IFDOTRACE, ILL_IFFREE, ILL_MAX, ILL_MIN, ILL_RESULT, ILL_SAFE_MALLOC, ILL_UTIL_STR, ILLcheck_rawlpdata(), ILLdata_error(), ILLdata_warn(), ILLfree_rawlpdata(), ILLlpdata_init(), ILLmatrix_prt(), ILLsymboltab_create(), initStructmap(), rawlpdata::name, ILLlpdata::ncols, rawlpdata::ncols, ILLlpdata::nrows, rawlpdata::nrows, ILLlpdata::nstruct, NULL, rawlpdata::objindex, rawlpdata::objsense, ILLlpdata::objsense, ILLlpdata::probname, rawlpdata::ranges, ILLlpdata::rowsize, ILLlpdata::rowtab, ILLlpdata::structsize, transferColNamesLowerUpperIntMarker(), transferObjective(), transferRanges(), transferSenseRhsRowNames(), whichColsAreUsed(), and whichRowsAreUsed().

Referenced by ILLrawlpdata_to_lpdata().

Here is the call graph for this function:

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

Definition at line 40 of file rawlp.c.

References ILL_MAXDOUBLE, and ILL_MINDOUBLE.

static int ILLcheck_rawlpdata ( rawlpdata lp  )  [static]

Definition at line 496 of file rawlp.c.

References rawlpdata::error_collector, sosptr::first, ILL_FAILfalse, ILL_SAFE_MALLOC, ILLdata_error(), ILLraw_colname(), ILLraw_rowname(), ILLutil_EGlpNum_perm_quicksort(), rawlpdata::ncols, sosptr::nelem, NULL, and rawlpdata::objindex.

Referenced by convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

colptr* ILLcolptralloc ( ILLptrworld p  ) 

Definition at line 1753 of file rawlp.c.

References colptr::coef.

Referenced by ILLraw_add_col_coef(), and ILLraw_add_ranges_coef().

int ILLdata_error ( qserror_collector collector,
const char *  format,
  ... 
)

Definition at line 1731 of file rawlp.c.

References ILLmsg(), and TRUE.

Referenced by convert_rawlpdata_to_lpdata(), ILLcheck_rawlpdata(), ILLraw_check_bounds(), ILLwrite_lp(), mps_fill_in(), and transferRanges().

Here is the call graph for this function:

void ILLdata_warn ( qserror_collector collector,
const char *  format,
  ... 
)

Definition at line 1742 of file rawlp.c.

References FALSE, and ILLmsg().

Referenced by buildMatrix(), convert_rawlpdata_to_lpdata(), fix_names(), ILLraw_fill_in_rownames(), ILLwrite_mps(), mps_fill_in(), and transferObjective().

Here is the call graph for this function:

void ILLfree_rawlpdata ( rawlpdata lp  ) 

Definition at line 144 of file rawlp.c.

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

Referenced by convert_rawlpdata_to_lpdata(), ILLeditor(), and ILLread().

Here is the call graph for this function:

void ILLinit_rawlpdata ( rawlpdata lp,
qserror_collector collector 
)

Definition at line 70 of file rawlp.c.

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

Referenced by ILLfree_rawlpdata(), ILLread(), ILLread_lp(), and pull_info_from_p().

Here is the call graph for this function:

static int ILLmsg ( qserror_collector collector,
int  isError,
const char *  format,
va_list  args 
) [static]

Definition at line 1697 of file rawlp.c.

References ILLformat_error, ILLformat_error_create(), ILLformat_error_delete(), NULL, QS_DATA_ERROR, and QS_DATA_WARN.

Referenced by ILLdata_error(), and ILLdata_warn().

Here is the call graph for this function:

void ILLprint_rawlpdata ( rawlpdata lp  ) 

Definition at line 1561 of file rawlp.c.

References colptr::coef, rawlpdata::cols, ILLraw_colname(), ILLraw_rowname(), rawlpdata::name, rawlpdata::ncols, colptr::next, rawlpdata::nrows, rawlpdata::rhs, rawlpdata::rowsense, and colptr::this_val.

Referenced by ILLrawlpdata_to_lpdata().

Here is the call graph for this function:

int ILLraw_add_col ( rawlpdata lp,
const char *  name,
int  intmarker 
)

Definition at line 227 of file rawlp.c.

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

Referenced by add_var(), mps_read_col_line(), and pull_info_from_p().

Here is the call graph for this function:

int ILLraw_add_col_coef ( rawlpdata lp,
int  colind,
int  rowind,
EGlpNum_t  coef 
)

Definition at line 319 of file rawlp.c.

References colptr::coef, rawlpdata::cols, ILLcolptralloc(), colptr::next, rawlpdata::ptrworld, and colptr::this_val.

Referenced by add_var(), and mps_read_col_line().

Here is the call graph for this function:

int ILLraw_add_ranges_coef ( rawlpdata lp,
int  rowind,
EGlpNum_t  coef 
)

Definition at line 339 of file rawlp.c.

References colptr::coef, ILLcolptralloc(), colptr::next, rawlpdata::ptrworld, rawlpdata::ranges, rawlpdata::rangesind, and colptr::this_val.

Referenced by add_ranges().

Here is the call graph for this function:

int ILLraw_add_row ( rawlpdata lp,
const char *  name,
int  sense,
const EGlpNum_t  rhs 
)

Definition at line 455 of file rawlp.c.

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

Referenced by add_row(), ILLread_one_constraint(), pull_info_from_p(), and read_objective().

Here is the call graph for this function:

int ILLraw_add_sos ( rawlpdata lp,
int  tp 
)

Definition at line 358 of file rawlp.c.

References sosptr::first, ILL_RETURN, sosptr::nelem, rawlpdata::nsos, rawlpdata::sos_set, rawlpdata::sos_setsize, and sosptr::type.

Referenced by mps_read_marker_line().

int ILLraw_add_sos_member ( rawlpdata lp,
int  colind 
)

Definition at line 404 of file rawlp.c.

References ILL_FAILfalse, ILL_FAILtrue, ILL_RETURN, ILLraw_is_mem_other_sos(), and rawlpdata::nsos.

Referenced by mps_read_col_line().

Here is the call graph for this function:

static int ILLraw_check_bounds ( rawlpdata lp  )  [static]

Definition at line 746 of file rawlp.c.

References rawlpdata::error_collector, ILL_FAILtrue, ILLdata_error(), ILLraw_colname(), rawlpdata::lbind, rawlpdata::lower, rawlpdata::ncols, NULL, rawlpdata::ubind, and rawlpdata::upper.

Here is the call graph for this function:

void ILLraw_clear_matrix ( rawlpdata lp  ) 

Definition at line 118 of file rawlp.c.

References rawlpdata::cols, rawlpdata::ncols, colptr::next, NULL, and rawlpdata::ptrworld.

Referenced by add_col(), add_row(), and ILLfree_rawlpdata().

const char* ILLraw_colname ( rawlpdata lp,
int  i 
)

Definition at line 213 of file rawlp.c.

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

Referenced by fill_matrix(), ILLcheck_rawlpdata(), ILLprint_rawlpdata(), ILLraw_check_bounds(), mps_read_col_line(), read_bounds(), transferColNamesLowerUpperIntMarker(), and transferObjective().

Here is the call graph for this function:

int ILLraw_default_lower ( ILLlpdata lp,
int  i 
)

Definition at line 786 of file rawlp.c.

References ILL_FAILfalse_no_rval, ILL_FAILtrue_no_rval, ILL_MINDOUBLE, ILLlpdata::lower, ILLlpdata::ncols, NULL, and ILLlpdata::upper.

Referenced by ILLraw_first_nondefault_bound(), and write_bounds().

int ILLraw_default_upper ( ILLlpdata lp,
int  i,
int  ri 
)

Definition at line 807 of file rawlp.c.

References ILL_FAILfalse_no_rval, ILL_FAILtrue_no_rval, ILL_MAXDOUBLE, ILLlpdata::intmarker, ILLlpdata::lower, ILLlpdata::ncols, NULL, and ILLlpdata::upper.

Referenced by ILLraw_first_nondefault_bound(), and write_bounds().

int ILLraw_fill_in_bounds ( rawlpdata lp  ) 

Definition at line 699 of file rawlp.c.

References ILL_FAILtrue, ILL_MINDOUBLE, ILLraw_init_bounds(), rawlpdata::lbind, rawlpdata::lower, rawlpdata::ncols, NULL, rawlpdata::ubind, and rawlpdata::upper.

Referenced by ILLread_lp().

Here is the call graph for this function:

int ILLraw_fill_in_rownames ( rawlpdata lp  ) 

Definition at line 834 of file rawlp.c.

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

Referenced by ILLread_lp().

Here is the call graph for this function:

int ILLraw_first_nondefault_bound ( ILLlpdata lp  ) 

Definition at line 769 of file rawlp.c.

References ILL_FAILtrue_no_rval, ILLraw_default_lower(), ILLraw_default_upper(), ILLlpdata::lower, ILLlpdata::nstruct, NULL, ILLlpdata::structmap, and ILLlpdata::upper.

Referenced by write_bounds().

Here is the call graph for this function:

int ILLraw_init_bounds ( rawlpdata lp  ) 

Definition at line 586 of file rawlp.c.

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

Referenced by ILLraw_fill_in_bounds(), read_bounds(), and read_mps_section().

int ILLraw_init_ranges ( rawlpdata lp  ) 

Definition at line 300 of file rawlp.c.

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

Referenced by read_mps_section().

int ILLraw_init_rhs ( rawlpdata lp  ) 

Definition at line 281 of file rawlp.c.

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

Referenced by read_mps_section().

int ILLraw_is_mem_other_sos ( rawlpdata lp,
int  colind 
)

Definition at line 396 of file rawlp.c.

References rawlpdata::is_sos_member, and rawlpdata::nsos.

Referenced by ILLraw_add_sos_member(), and mps_read_col_line().

const char* ILLraw_rowname ( rawlpdata lp,
int  i 
)

Definition at line 200 of file rawlp.c.

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

Referenced by add_ranges(), add_rhs(), add_var(), ILLcheck_rawlpdata(), ILLprint_rawlpdata(), ILLread_constraint_expr(), ILLread_one_constraint(), and transferSenseRhsRowNames().

Here is the call graph for this function:

const char* ILLraw_set_binaryBound ( rawlpdata lp,
int  i 
)

Definition at line 682 of file rawlp.c.

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

Referenced by mps_set_bound().

int ILLraw_set_bounds_name ( rawlpdata lp,
const char *  name,
int *  skip 
)

Definition at line 1545 of file rawlp.c.

References rawlpdata::boundsname, and set_field_name().

Referenced by add_bounds().

Here is the call graph for this function:

const char* ILLraw_set_fixedBound ( rawlpdata lp,
int  i,
EGlpNum_t  bnd 
)

Definition at line 647 of file rawlp.c.

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

Referenced by mps_set_bound(), and read_bounds().

const char* ILLraw_set_lowerBound ( rawlpdata lp,
int  i,
EGlpNum_t  bnd 
)

Definition at line 610 of file rawlp.c.

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

Referenced by mps_set_bound(), and read_bounds().

int ILLraw_set_ranges_name ( rawlpdata lp,
const char *  name,
int *  skip 
)

Definition at line 1553 of file rawlp.c.

References rawlpdata::rangesname, and set_field_name().

Referenced by add_ranges().

Here is the call graph for this function:

int ILLraw_set_rhs_name ( rawlpdata lp,
const char *  name,
int *  skip 
)

Definition at line 1537 of file rawlp.c.

References rawlpdata::rhsname, and set_field_name().

Referenced by add_rhs().

Here is the call graph for this function:

const char* ILLraw_set_unbound ( rawlpdata lp,
int  i 
)

Definition at line 665 of file rawlp.c.

References ILL_FAILtrue_no_rval, ILL_MAXDOUBLE, ILL_MINDOUBLE, rawlpdata::lbind, rawlpdata::lower, rawlpdata::ncols, NULL, rawlpdata::ubind, and rawlpdata::upper.

Referenced by mps_set_bound(), and read_bounds().

const char* ILLraw_set_upperBound ( rawlpdata lp,
int  i,
EGlpNum_t  bnd 
)

Definition at line 626 of file rawlp.c.

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

Referenced by mps_set_bound(), and read_bounds().

int ILLrawlpdata_to_lpdata ( rawlpdata raw,
ILLlpdata lp 
)

Definition at line 1495 of file rawlp.c.

References convert_rawlpdata_to_lpdata(), ILL_IFDOTRACE, ILL_RESULT, ILLlp_add_logicals(), and ILLprint_rawlpdata().

Referenced by ILLread().

Here is the call graph for this function:

static int initStructmap ( ILLlpdata lp  )  [static]

Definition at line 1327 of file rawlp.c.

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

Referenced by convert_rawlpdata_to_lpdata().

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

Definition at line 1063 of file rawlp.c.

References ILL_FAILfalse, and ILLsymboltab_register().

Referenced by transferSenseRhsRowNames().

Here is the call graph for this function:

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

Definition at line 1514 of file rawlp.c.

References ILL_RETURN, and ILL_UTIL_STR.

Referenced by ILLraw_set_bounds_name(), ILLraw_set_ranges_name(), and ILLraw_set_rhs_name().

static int transferColNamesLowerUpperIntMarker ( rawlpdata raw,
ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 997 of file rawlp.c.

References ILLlpdata::colnames, ILLlpdata::coltab, ILL_FAILfalse, ILL_IFDOTRACE, ILL_IFFREE, ILL_IFTRACE, ILL_RETURN, ILL_SAFE_MALLOC, ILL_UTIL_STR, ILLraw_colname(), ILLsymboltab_register(), rawlpdata::intmarker, ILLlpdata::intmarker, ILLlpdata::lower, rawlpdata::lower, rawlpdata::ncols, ILLlpdata::ncols, ILLlpdata::upper, and rawlpdata::upper.

Referenced by convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int transferObjective ( rawlpdata raw,
ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 948 of file rawlp.c.

References colptr::coef, rawlpdata::cols, rawlpdata::error_collector, ILL_FAILfalse, ILL_SAFE_MALLOC, ILLdata_warn(), ILLraw_colname(), rawlpdata::ncols, ILLlpdata::ncols, colptr::next, NULL, ILLlpdata::obj, rawlpdata::objindex, and colptr::this_val.

Referenced by convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int transferRanges ( rawlpdata raw,
ILLlpdata lp,
int *  rowindex 
) [static]

Definition at line 1258 of file rawlp.c.

References colptr::coef, rawlpdata::error_collector, ILLdata_error(), colptr::next, ILLlpdata::nrows, rawlpdata::ranges, ILLlpdata::rangeval, ILLlpdata::rhs, rawlpdata::rowsense, ILLlpdata::sense, and colptr::this_val.

Referenced by convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int transferSenseRhsRowNames ( rawlpdata raw,
ILLlpdata lp,
int *  rowindex 
) [static]

Definition at line 1077 of file rawlp.c.

References ILL_FAILfalse, ILL_SAFE_MALLOC, ILL_UTIL_STR, ILLraw_rowname(), ILLlpdata::nrows, NULL, rawlpdata::objindex, ILLlpdata::objname, ILLlpdata::refind, ILLlpdata::refrowname, ILLlpdata::rhs, ILLlpdata::rownames, ILLlpdata::rowtab, safeRegister(), and ILLlpdata::sense.

Referenced by convert_rawlpdata_to_lpdata().

Here is the call graph for this function:

static int whichColsAreUsed ( rawlpdata raw,
ILLlpdata lp,
int *  colindex 
) [static]

Definition at line 864 of file rawlp.c.

References rawlpdata::cols, ILL_SAFE_MALLOC, rawlpdata::ncols, colptr::next, NULL, rawlpdata::objindex, rawlpdata::rowsense, and colptr::this_val.

Referenced by convert_rawlpdata_to_lpdata().

static int whichRowsAreUsed ( rawlpdata raw,
ILLlpdata lp,
int *  rowindex 
) [static]

Definition at line 921 of file rawlp.c.

References ILLlpdata::nrows, rawlpdata::nrows, and rawlpdata::rowsense.

Referenced by convert_rawlpdata_to_lpdata().


Variable Documentation

int TRACE = 0 [static]

Definition at line 38 of file rawlp.c.


Generated on Thu Mar 29 09:48:06 2012 for QSopt_ex by  doxygen 1.4.7