18 #define COMPILING_FOR_MASTER
34 #define FUNCTION_TERMINATED_NORMALLY 0
35 #define FUNCTION_TERMINATED_ABNORMALLY -1
36 #define ERROR__USER -100
39 #define ERROR__OPENING_PARAM_FILE -110
40 #define ERROR__PARSING_PARAM_FILE -111
43 #define ERROR__READING_GMPL_FILE -120
44 #define ERROR__READING_WARM_START_FILE -121
45 #define ERROR__READING_MPS_FILE -122
46 #define ERROR__READING_LP_FILE -123
49 #define TM_NO_PROBLEM 225
50 #define TM_NO_SOLUTION 226
51 #define TM_OPTIMAL_SOLUTION_FOUND 227
52 #define TM_TIME_LIMIT_EXCEEDED 228
53 #define TM_NODE_LIMIT_EXCEEDED 229
54 #define TM_ITERATION_LIMIT_EXCEEDED 230
55 #define TM_TARGET_GAP_ACHIEVED 231
56 #define TM_FOUND_FIRST_FEASIBLE 232
57 #define TM_FINISHED 233
58 #define TM_UNFINISHED 234
59 #define TM_FEASIBLE_SOLUTION_FOUND 235
60 #define TM_SIGNAL_CAUGHT 236
61 #define TM_UNBOUNDED 237
62 #define PREP_OPTIMAL_SOLUTION_FOUND 238
63 #define PREP_NO_SOLUTION 239
64 #define TM_ERROR__NO_BRANCHING_CANDIDATE -250
65 #define TM_ERROR__ILLEGAL_RETURN_CODE -251
66 #define TM_ERROR__NUMERICAL_INSTABILITY -252
67 #define TM_ERROR__COMM_ERROR -253
68 #define TM_ERROR__USER -275
69 #define PREP_ERROR -276
93 #define DSIZE sizeof(double)
94 #define ISIZE sizeof(int)
95 #define CSIZE sizeof(char)
101 #define BITS(type) (BITSPERBYTE * (int)sizeof (type))
107 #define HIBITI (1U << (BITS(int) - 1))
111 #define MAXINT ((int)(~(HIBITI)))
115 #define MAXDOUBLE 1.79769313486231570e+308
117 #define SYM_INFINITY 1e20
121 #define SYM_MINIMIZE 0
122 #define SYM_MAXIMIZE 1
124 #define MAX_NAME_SIZE 255
127 #define USER_ERROR -5
128 #define USER_SUCCESS -4
129 #define USER_NO_PP -3
130 #define USER_AND_PP -2
131 #define USER_DEFAULT -1
138 #define MC_WS_UTOPIA_FIRST 0
139 #define MC_WS_UTOPIA_BOTH_FIXED 1
140 #define MC_WS_UTOPIA_BOTH 2
141 #define MC_WS_BEST_CLOSE 3
144 #define BIGGEST_DIFFERENCE_OBJ 0
145 #define LOWEST_LOW_OBJ 1
146 #define HIGHEST_LOW_OBJ 2
147 #define LOWEST_HIGH_OBJ 3
148 #define HIGHEST_HIGH_OBJ 4
149 #define HIGH_LOW_COMBINATION 9
152 #define PREFER_LOWER_OBJ_VALUE 0
153 #define PREFER_HIGHER_OBJ_VALUE 1
156 #define GENERATE_CGL_CUTS 20
157 #define DO_NOT_GENERATE_CGL_CUTS 21
160 #define DO_NOT_GENERATE -1
161 #define GENERATE_DEFAULT 0
162 #define GENERATE_IF_IN_ROOT 1
163 #define GENERATE_ONLY_IN_ROOT 2
164 #define GENERATE_ALWAYS 3
165 #define GENERATE_PERIODICALLY 4
168 #define LOWEST_LP_FIRST 0
169 #define HIGHEST_LP_FIRST 1
170 #define BREADTH_FIRST_SEARCH 2
171 #define DEPTH_FIRST_SEARCH 3
172 #define BEST_FIRST_SEARCH 4
173 #define DEPTH_FIRST_THEN_BEST_FIRST 5
176 #define BEST_ESTIMATE 0
177 #define COMP_BEST_K 1
178 #define COMP_BEST_K_GAP 2
181 #define SYM_FEAS_PUMP_DEFAULT 1
182 #define SYM_FEAS_PUMP_REPEATED 2
183 #define SYM_FEAS_PUMP_TILL_SOL 3
184 #define SYM_FEAS_PUMP_DISABLE -1
194 void sym_version
PROTO((
void));
219 int numrows,
int *start,
int *index,
220 double *value,
double *collb,
221 double *colub,
char *is_int,
double *
obj,
222 double *obj2,
char *rowsen,
223 double *rowrhs,
double *rowrng,
242 int *matind,
double *matval));
254 double sym_get_infinity
PROTO(());
259 double *colsol,
double *objval));
272 double rowrhs,
double rowrng));
280 double *elements,
double collb,
double colub,
281 double obj,
char is_int,
char *name));
283 double *elements,
char rowsen,
double rowrhs,
293 int copy_warm_start));
306 int *new_rhs_ind,
double *new_rhs_val,
307 double *lb_for_new_rhs));
309 int *new_rhs_ind,
double *new_rhs_val,
310 double *ub_for_new_rhs));
313 int *new_obj_ind,
double *new_obj_val,
314 double *lb_for_new_obj));
317 int *new_obj_ind,
double *new_obj_val,
318 double *ub_for_new_obj));