#include "qs_config.h"
#include "mpf_iqsutil.h"
#include "mpf_rawlp.h"
#include "mpf_read_mps.h"
#include "mpf_read_lp.h"
#include "mpf_format.h"
Include dependency graph for mpf_read_mps.c:

Go to the source code of this file.
| #define mpf_END_LINE | ( | p | ) | (((*(p)) == '$' || (*(p)) == '\n' || (*(p)) == '\0') ? 1 : 0) |
Definition at line 42 of file mpf_read_mps.c.
| static char mpf_get_double | ( | mpf_ILLread_mps_state * | state, | |
| int | peek, | |||
| mpf_t * | coef | |||
| ) | [static] |
Definition at line 186 of file mpf_read_mps.c.
References ILL_FAILfalse, ILL_RESULT, mpf_ILLget_value(), and mpf_mps_skip_comment().
Referenced by mpf_ILLmps_next_bound(), mpf_ILLmps_next_coef(), and mpf_ILLmps_next_field_is_number().
Here is the call graph for this function:

| void mpf_ILLmps_check_end_of_line | ( | mpf_ILLread_mps_state * | state | ) |
Definition at line 306 of file mpf_read_mps.c.
References mpf_END_LINE, mpf_ILLmps_warn(), and mpf_mps_skip_comment().
Referenced by mpf_read_mps_line_in_section().
Here is the call graph for this function:

| int mpf_ILLmps_empty_field | ( | mpf_ILLread_mps_state * | state | ) |
Definition at line 427 of file mpf_read_mps.c.
References mpf_ILLread_mps_state_struct::field.
Referenced by mpf_add_bounds(), mpf_add_col(), mpf_add_row(), mpf_ILLlib_readbasis(), mpf_mps_read_col_line(), mpf_read_mps_line_in_section(), mpf_read_mps_name(), mpf_read_mps_objnamesense(), and mpf_read_mps_refrow().
| int mpf_ILLmps_empty_key | ( | mpf_ILLread_mps_state * | state | ) |
Definition at line 421 of file mpf_read_mps.c.
References mpf_ILLread_mps_state_struct::key.
Referenced by mpf_add_bounds(), mpf_add_col(), mpf_add_row(), mpf_ILLlib_readbasis(), mpf_ILLread_mps(), mpf_mps_read_col_line(), mpf_read_mps_line_in_section(), mpf_read_mps_objnamesense(), mpf_read_mps_refrow(), and mpf_read_mps_section().
| int mpf_ILLmps_error | ( | mpf_ILLread_mps_state * | state, | |
| const char * | format, | |||
| ... | ||||
| ) |
Definition at line 491 of file mpf_read_mps.c.
References mpf_mps_err().
Referenced by mpf_add_bounds(), mpf_add_ranges(), mpf_add_rhs(), mpf_add_row(), mpf_check_section_order(), mpf_ILLlib_readbasis(), mpf_ILLmps_int_sos_mode(), mpf_ILLmps_set_section(), mpf_ILLread_mps(), mpf_mps_read_col_line(), mpf_mps_read_marker_line(), mpf_read_mps_line_in_section(), mpf_read_mps_objnamesense(), mpf_read_mps_objsense(), mpf_read_mps_refrow(), and mpf_read_mps_section().
Here is the call graph for this function:

| int mpf_ILLmps_int_sos_mode | ( | mpf_ILLread_mps_state * | state | ) |
Definition at line 341 of file mpf_read_mps.c.
References mpf_ILLread_mps_state_struct::field, ILL_RESULT, mpf_ILLread_mps_state_struct::intvar, mpf_ILLmps_error(), and mpf_ILLread_mps_state_struct::sosvar.
Referenced by mpf_mps_read_marker_line().
Here is the call graph for this function:

| int mpf_ILLmps_next_bound | ( | mpf_ILLread_mps_state * | state, | |
| mpf_t * | coef | |||
| ) |
Definition at line 224 of file mpf_read_mps.c.
References ILL_RESULT, ILL_RETURN, mpf_END_LINE, mpf_get_double(), mpf_ILL_MAXDOUBLE, mpf_ILL_MINDOUBLE, and mpf_mps_skip_comment().
Referenced by mpf_add_bounds().
Here is the call graph for this function:

| int mpf_ILLmps_next_coef | ( | mpf_ILLread_mps_state * | state, | |
| mpf_t * | coef | |||
| ) |
Definition at line 211 of file mpf_read_mps.c.
References ILL_RESULT, mpf_get_double(), and mpf_mps_skip_comment().
Referenced by mpf_add_ranges(), mpf_add_rhs(), and mpf_mps_read_col_line().
Here is the call graph for this function:

| int mpf_ILLmps_next_field | ( | mpf_ILLread_mps_state * | state | ) |
Definition at line 170 of file mpf_read_mps.c.
References mpf_ILLread_mps_state_struct::field, and mpf_mps_skip_comment().
Referenced by mpf_add_bounds(), mpf_add_ranges(), mpf_add_rhs(), mpf_add_row(), mpf_ILLlib_readbasis(), mpf_mps_read_col_line(), and mpf_mps_read_marker_line().
Here is the call graph for this function:

| static char mpf_ILLmps_next_field_is_number | ( | mpf_ILLread_mps_state * | state | ) | [static] |
Definition at line 291 of file mpf_read_mps.c.
References mpf_get_double(), and mpf_mps_skip_comment().
Referenced by mpf_ILLmps_possibly_blank_name().
Here is the call graph for this function:

| int mpf_ILLmps_next_line | ( | mpf_ILLread_mps_state * | state | ) |
Definition at line 80 of file mpf_read_mps.c.
References mpf_ILLread_mps_state_struct::field, mpf_ILLread_mps_state_struct::field_num, mpf_ILLread_mps_state_struct::file, ILL_FAILfalse, ILL_namebufsize, mpf_ILLread_mps_state_struct::key, mpf_ILLread_mps_state_struct::line, mpf_ILLread_mps_state_struct::line_num, mpf_ILL_ISBLANK, mpf_ILLline_reader_get, and mpf_ILLread_mps_state_struct::p.
Referenced by mpf_ILLlib_readbasis(), mpf_ILLread_mps(), mpf_read_mps_objnamesense(), and mpf_read_mps_refrow().
| const char* mpf_ILLmps_possibly_blank_name | ( | const char * | field, | |
| mpf_ILLread_mps_state * | state, | |||
| ILLsymboltab * | tab | |||
| ) |
Definition at line 395 of file mpf_read_mps.c.
References ILLsymboltab_lookup(), and mpf_ILLmps_next_field_is_number().
Referenced by mpf_add_bounds(), mpf_add_ranges(), and mpf_add_rhs().
Here is the call graph for this function:

| void mpf_ILLmps_set_end_of_line | ( | mpf_ILLread_mps_state * | state | ) |
Definition at line 318 of file mpf_read_mps.c.
References mpf_ILLread_mps_state_struct::p.
Referenced by mpf_add_bounds(), mpf_add_ranges(), and mpf_add_rhs().
| int mpf_ILLmps_set_section | ( | mpf_ILLread_mps_state * | state, | |
| const ILLmps_section | sec | |||
| ) |
Definition at line 324 of file mpf_read_mps.c.
References mpf_ILLread_mps_state_struct::active, ILL_FAILfalse, ILL_MPS_NONE, ILL_RESULT, mpf_ILLmps_error(), mpf_ILLmps_section_name, and mpf_ILLread_mps_state_struct::section.
Referenced by mpf_read_mps_section().
Here is the call graph for this function:

| int mpf_ILLmps_state_init | ( | mpf_ILLread_mps_state * | state, | |
| mpf_qsline_reader * | file, | |||
| const char * | mpf_fname | |||
| ) |
Definition at line 49 of file mpf_read_mps.c.
References mpf_ILLread_mps_state_struct::active, mpf_ILLread_mps_state_struct::field, mpf_ILLread_mps_state_struct::file, mpf_ILLread_mps_state_struct::file_name, ILL_FAILtrue, ILL_MPS_N_SECTIONS, ILL_MPS_NONE, ILL_RESULT, mpf_ILLread_mps_state_struct::intvar, mpf_ILLread_mps_state_struct::key, mpf_ILLread_mps_state_struct::line, mpf_ILLread_mps_state_struct::line_num, mpf_ILLread_mps_state_struct::obj, mpf_ILLread_mps_state_struct::p, mpf_ILLread_mps_state_struct::section, and mpf_ILLread_mps_state_struct::sosvar.
Referenced by mpf_ILLlib_readbasis(), and mpf_ILLread_mps().
| void mpf_ILLmps_warn | ( | mpf_ILLread_mps_state * | state, | |
| const char * | format, | |||
| ... | ||||
| ) |
Definition at line 504 of file mpf_read_mps.c.
References mpf_mps_err().
Referenced by mpf_add_ranges(), mpf_add_rhs(), mpf_ILLlib_readbasis(), mpf_ILLmps_check_end_of_line(), mpf_ILLread_mps(), mpf_mps_set_bound(), and mpf_read_mps_name().
Here is the call graph for this function:

| static void mpf_mps_err | ( | mpf_ILLread_mps_state * | state, | |
| int | isError, | |||
| const char * | format, | |||
| va_list | args | |||
| ) | [static] |
Definition at line 433 of file mpf_read_mps.c.
References mpf_qsline_reader::error_collector, mpf_ILLread_mps_state_struct::file, mpf_ILLread_mps_state_struct::file_name, ILL_FAILfalse, ILL_FAILfalse_no_rval, mpf_ILLread_mps_state_struct::line, mpf_ILLread_mps_state_struct::line_num, mpf_ILLformat_error, mpf_ILLformat_error_create(), mpf_ILLformat_error_delete(), mpf_ILLread_mps_state_struct::p, QS_MPS_FORMAT_ERROR, and QS_MPS_FORMAT_WARN.
Referenced by mpf_ILLmps_error(), and mpf_ILLmps_warn().
Here is the call graph for this function:

| static int mpf_mps_skip_comment | ( | mpf_ILLread_mps_state * | state | ) | [static] |
Definition at line 156 of file mpf_read_mps.c.
References mpf_ILLread_mps_state_struct::field_num, mpf_ILL_ISBLANK, and mpf_ILLread_mps_state_struct::p.
Referenced by mpf_get_double(), mpf_ILLmps_check_end_of_line(), mpf_ILLmps_next_bound(), mpf_ILLmps_next_coef(), mpf_ILLmps_next_field(), and mpf_ILLmps_next_field_is_number().
int TRACE = 0 [static] |
Definition at line 40 of file mpf_read_mps.c.
1.4.7