0
|
1
|
|
2
|
|
3 dynbind("glpk", "
|
|
4 glp_add_arc(*<_glp_graph>ii)*<_glp_arc>;
|
|
5 glp_add_cols(*<glp_prob>i)i;
|
|
6 glp_add_rows(*<glp_prob>i)i;
|
|
7 glp_add_vertices(*<_glp_graph>i)i;
|
|
8 glp_adv_basis(*<glp_prob>i)v;
|
|
9 glp_analyze_bound(*<glp_prob>i*d*i*d*i)v;
|
|
10 glp_analyze_coef(*<glp_prob>i*d*i*d*d*i*d)v;
|
|
11 glp_asnprob_hall(*<_glp_graph>ii)i;
|
|
12 glp_asnprob_lp(*<glp_prob>i*<_glp_graph>iii)i;
|
|
13 glp_asnprob_okalg(i*<_glp_graph>ii*di)i;
|
|
14 glp_assert_(*c*ci)v;
|
|
15 glp_bf_exists(*<glp_prob>)i;
|
|
16 glp_bf_updated(*<glp_prob>)i;
|
|
17 glp_btran(*<glp_prob>*d)v;
|
|
18 glp_calloc(ii)*v;
|
|
19 glp_check_asnprob(*<_glp_graph>i)i;
|
|
20 glp_check_cnfsat(*<glp_prob>)i;
|
|
21 glp_check_dup(iii*i*i)i;
|
|
22 glp_close_tee()i;
|
|
23 glp_copy_prob(*<glp_prob>*<glp_prob>i)v;
|
|
24 glp_cpp(*<_glp_graph>iii)d;
|
|
25 glp_cpx_basis(*<glp_prob>)v;
|
|
26 glp_create_graph(ii)*<_glp_graph>;
|
|
27 glp_create_index(*<glp_prob>)v;
|
|
28 glp_create_prob()*<glp_prob>;
|
|
29 glp_create_v_index(*<_glp_graph>)v;
|
|
30 glp_del_arc(*<_glp_graph>*<_glp_arc>)v;
|
|
31 glp_del_cols(*<glp_prob>i*i)v;
|
|
32 glp_del_rows(*<glp_prob>i*i)v;
|
|
33 glp_del_vertices(*<_glp_graph>i*i)v;
|
|
34 glp_delete_graph(*<_glp_graph>)v;
|
|
35 glp_delete_index(*<glp_prob>)v;
|
|
36 glp_delete_prob(*<glp_prob>)v;
|
|
37 glp_delete_v_index(*<_glp_graph>)v;
|
|
38 glp_difftime()d;
|
|
39 glp_dual_rtest(*<glp_prob>i*i*did)i;
|
|
40 glp_erase_graph(*<_glp_graph>ii)v;
|
|
41 glp_erase_prob(*<glp_prob>)v;
|
|
42 glp_error_(*ci)*p;
|
|
43 glp_error_hook(*p*v)v;
|
|
44 glp_eval_tab_col(*<glp_prob>i*i*d)i;
|
|
45 glp_eval_tab_row(*<glp_prob>i*i*d)i;
|
|
46 glp_exact(*<glp_prob>*<glp_smcp>)i;
|
|
47 glp_factorize(*<glp_prob>)i;
|
|
48 glp_find_col(*<glp_prob>*c)i;
|
|
49 glp_find_row(*<glp_prob>*c)i;
|
|
50 glp_find_vertex(*<_glp_graph>*c)i;
|
|
51 glp_free(*v)v;
|
|
52 glp_free_env()i;
|
|
53 glp_ftran(*<glp_prob>*d)v;
|
|
54 glp_get_bfcp(*<glp_prob>*<glp_bfcp>)v;
|
|
55 glp_get_bhead(*<glp_prob>i)i;
|
|
56 glp_get_col_bind(*<glp_prob>i)i;
|
|
57 glp_get_col_dual(*<glp_prob>i)d;
|
|
58 glp_get_col_kind(*<glp_prob>i)i;
|
|
59 glp_get_col_lb(*<glp_prob>i)d;
|
|
60 glp_get_col_name(*<glp_prob>i)*c;
|
|
61 glp_get_col_prim(*<glp_prob>i)d;
|
|
62 glp_get_col_stat(*<glp_prob>i)i;
|
|
63 glp_get_col_type(*<glp_prob>i)i;
|
|
64 glp_get_col_ub(*<glp_prob>i)d;
|
|
65 glp_get_dual_stat(*<glp_prob>)i;
|
|
66 glp_get_mat_col(*<glp_prob>i*i*d)i;
|
|
67 glp_get_mat_row(*<glp_prob>i*i*d)i;
|
|
68 glp_get_num_bin(*<glp_prob>)i;
|
|
69 glp_get_num_cols(*<glp_prob>)i;
|
|
70 glp_get_num_int(*<glp_prob>)i;
|
|
71 glp_get_num_nz(*<glp_prob>)i;
|
|
72 glp_get_num_rows(*<glp_prob>)i;
|
|
73 glp_get_obj_coef(*<glp_prob>i)d;
|
|
74 glp_get_obj_dir(*<glp_prob>)i;
|
|
75 glp_get_obj_name(*<glp_prob>)*c;
|
|
76 glp_get_obj_val(*<glp_prob>)d;
|
|
77 glp_get_prim_stat(*<glp_prob>)i;
|
|
78 glp_get_prob_name(*<glp_prob>)*c;
|
|
79 glp_get_rii(*<glp_prob>i)d;
|
|
80 glp_get_row_bind(*<glp_prob>i)i;
|
|
81 glp_get_row_dual(*<glp_prob>i)d;
|
|
82 glp_get_row_lb(*<glp_prob>i)d;
|
|
83 glp_get_row_name(*<glp_prob>i)*c;
|
|
84 glp_get_row_prim(*<glp_prob>i)d;
|
|
85 glp_get_row_stat(*<glp_prob>i)i;
|
|
86 glp_get_row_type(*<glp_prob>i)i;
|
|
87 glp_get_row_ub(*<glp_prob>i)d;
|
|
88 glp_get_sjj(*<glp_prob>i)d;
|
|
89 glp_get_status(*<glp_prob>)i;
|
|
90 glp_get_unbnd_ray(*<glp_prob>)i;
|
|
91 glp_gridgen(*<_glp_graph>iii*i)i;
|
|
92 glp_init_cpxcp(*<glp_cpxcp>)v;
|
|
93 glp_init_env()i;
|
|
94 glp_init_iocp(*<glp_iocp>)v;
|
|
95 glp_init_iptcp(*<glp_iptcp>)v;
|
|
96 glp_init_mpscp(*<glp_mpscp>)v;
|
|
97 glp_init_smcp(*<glp_smcp>)v;
|
|
98 glp_interior(*<glp_prob>*<glp_iptcp>)i;
|
|
99 glp_intfeas1(*<glp_prob>ii)i;
|
|
100 glp_intopt(*<glp_prob>*<glp_iocp>)i;
|
|
101 glp_ios_add_row(*<glp_tree>*ciii*i*did)i;
|
|
102 glp_ios_best_node(*<glp_tree>)i;
|
|
103 glp_ios_branch_upon(*<glp_tree>ii)v;
|
|
104 glp_ios_can_branch(*<glp_tree>i)i;
|
|
105 glp_ios_clear_pool(*<glp_tree>)v;
|
|
106 glp_ios_curr_node(*<glp_tree>)i;
|
|
107 glp_ios_del_row(*<glp_tree>i)v;
|
|
108 glp_ios_get_prob(*<glp_tree>)*<glp_prob>;
|
|
109 glp_ios_heur_sol(*<glp_tree>*d)i;
|
|
110 glp_ios_mip_gap(*<glp_tree>)d;
|
|
111 glp_ios_next_node(*<glp_tree>i)i;
|
|
112 glp_ios_node_bound(*<glp_tree>i)d;
|
|
113 glp_ios_node_data(*<glp_tree>i)*v;
|
|
114 glp_ios_node_level(*<glp_tree>i)i;
|
|
115 glp_ios_pool_size(*<glp_tree>)i;
|
|
116 glp_ios_prev_node(*<glp_tree>i)i;
|
|
117 glp_ios_reason(*<glp_tree>)i;
|
|
118 glp_ios_row_attr(*<glp_tree>i*<glp_attr>)v;
|
|
119 glp_ios_select_node(*<glp_tree>i)v;
|
|
120 glp_ios_terminate(*<glp_tree>)v;
|
|
121 glp_ios_tree_size(*<glp_tree>*i*i*i)v;
|
|
122 glp_ios_up_node(*<glp_tree>i)i;
|
|
123 glp_ipt_col_dual(*<glp_prob>i)d;
|
|
124 glp_ipt_col_prim(*<glp_prob>i)d;
|
|
125 glp_ipt_obj_val(*<glp_prob>)d;
|
|
126 glp_ipt_row_dual(*<glp_prob>i)d;
|
|
127 glp_ipt_row_prim(*<glp_prob>i)d;
|
|
128 glp_ipt_status(*<glp_prob>)i;
|
|
129 glp_load_matrix(*<glp_prob>i*i*i*d)v;
|
|
130 glp_main(i**c)i;
|
|
131 glp_malloc(i)*v;
|
|
132 glp_maxflow_ffalg(*<_glp_graph>iii*dii)i;
|
|
133 glp_maxflow_lp(*<glp_prob>*<_glp_graph>iiii)v;
|
|
134 glp_mem_limit(i)v;
|
|
135 glp_mem_usage(*i*i*<glp_long>*<glp_long>)v;
|
|
136 glp_mincost_lp(*<glp_prob>*<_glp_graph>iiiii)v;
|
|
137 glp_mincost_okalg(*<_glp_graph>iiii*dii)i;
|
|
138 glp_minisat1(*<glp_prob>)i;
|
|
139 glp_mip_col_val(*<glp_prob>i)d;
|
|
140 glp_mip_obj_val(*<glp_prob>)d;
|
|
141 glp_mip_row_val(*<glp_prob>i)d;
|
|
142 glp_mip_status(*<glp_prob>)i;
|
|
143 glp_mpl_alloc_wksp()*<glp_tran>;
|
|
144 glp_mpl_build_prob(*<glp_tran>*<glp_prob>)v;
|
|
145 glp_mpl_free_wksp(*<glp_tran>)v;
|
|
146 glp_mpl_generate(*<glp_tran>*c)i;
|
|
147 glp_mpl_postsolve(*<glp_tran>*<glp_prob>i)i;
|
|
148 glp_mpl_read_data(*<glp_tran>*c)i;
|
|
149 glp_mpl_read_model(*<glp_tran>*ci)i;
|
|
150 glp_netgen(*<_glp_graph>iii*i)i;
|
|
151 glp_open_tee(*c)i;
|
|
152 glp_prim_rtest(*<glp_prob>i*i*did)i;
|
|
153 glp_print_ipt(*<glp_prob>*c)i;
|
|
154 glp_print_mip(*<glp_prob>*c)i;
|
|
155 glp_print_ranges(*<glp_prob>i*ii*c)i;
|
|
156 glp_print_sol(*<glp_prob>*c)i;
|
|
157 glp_printf(*c?)v;
|
|
158 glp_read_asnprob(*<_glp_graph>ii*c)i;
|
|
159 glp_read_ccdata(*<_glp_graph>i*c)i;
|
|
160 glp_read_cnfsat(*<glp_prob>*c)i;
|
|
161 glp_read_graph(*<_glp_graph>*c)i;
|
|
162 glp_read_ipt(*<glp_prob>*c)i;
|
|
163 glp_read_lp(*<glp_prob>*<glp_cpxcp>*c)i;
|
|
164 glp_read_maxflow(*<_glp_graph>*i*ii*c)i;
|
|
165 glp_read_mincost(*<_glp_graph>iiii*c)i;
|
|
166 glp_read_mip(*<glp_prob>*c)i;
|
|
167 glp_read_mps(*<glp_prob>i*<glp_mpscp>*c)i;
|
|
168 glp_read_prob(*<glp_prob>i*c)i;
|
|
169 glp_read_sol(*<glp_prob>*c)i;
|
|
170 glp_rmfgen(*<_glp_graph>*i*ii*i)i;
|
|
171 glp_scale_prob(*<glp_prob>i)v;
|
|
172 glp_sdf_close_file(*<glp_data>)v;
|
|
173 glp_sdf_error(*<glp_data>*c?)v;
|
|
174 glp_sdf_line(*<glp_data>)i;
|
|
175 glp_sdf_open_file(*c)*<glp_data>;
|
|
176 glp_sdf_read_int(*<glp_data>)i;
|
|
177 glp_sdf_read_item(*<glp_data>)*c;
|
|
178 glp_sdf_read_num(*<glp_data>)d;
|
|
179 glp_sdf_read_text(*<glp_data>)*c;
|
|
180 glp_sdf_set_jump(*<glp_data>*v)v;
|
|
181 glp_sdf_warning(*<glp_data>*c?)v;
|
|
182 glp_set_bfcp(*<glp_prob>*<glp_bfcp>)v;
|
|
183 glp_set_col_bnds(*<glp_prob>iidd)v;
|
|
184 glp_set_col_kind(*<glp_prob>ii)v;
|
|
185 glp_set_col_name(*<glp_prob>i*c)v;
|
|
186 glp_set_col_stat(*<glp_prob>ii)v;
|
|
187 glp_set_graph_name(*<_glp_graph>*c)v;
|
|
188 glp_set_mat_col(*<glp_prob>ii*i*d)v;
|
|
189 glp_set_mat_row(*<glp_prob>ii*i*d)v;
|
|
190 glp_set_obj_coef(*<glp_prob>id)v;
|
|
191 glp_set_obj_dir(*<glp_prob>i)v;
|
|
192 glp_set_obj_name(*<glp_prob>*c)v;
|
|
193 glp_set_prob_name(*<glp_prob>*c)v;
|
|
194 glp_set_rii(*<glp_prob>id)v;
|
|
195 glp_set_row_bnds(*<glp_prob>iidd)v;
|
|
196 glp_set_row_name(*<glp_prob>i*c)v;
|
|
197 glp_set_row_stat(*<glp_prob>ii)v;
|
|
198 glp_set_sjj(*<glp_prob>id)v;
|
|
199 glp_set_vertex_name(*<_glp_graph>i*c)v;
|
|
200 glp_simplex(*<glp_prob>*<glp_smcp>)i;
|
|
201 glp_sort_matrix(*<glp_prob>)v;
|
|
202 glp_std_basis(*<glp_prob>)v;
|
|
203 glp_strong_comp(*<_glp_graph>i)i;
|
|
204 glp_term_hook(*p*v)v;
|
|
205 glp_term_out(i)i;
|
|
206 glp_time();
|
|
207 glp_top_sort(*<_glp_graph>i)i;
|
|
208 glp_transform_col(*<glp_prob>i*i*d)i;
|
|
209 glp_transform_row(*<glp_prob>i*i*d)i;
|
|
210 glp_unscale_prob(*<glp_prob>)v;
|
|
211 glp_version()*c;
|
|
212 glp_vprintf(*c*c)v;
|
|
213 glp_warm_up(*<glp_prob>)i;
|
|
214 glp_wclique_exact(*<_glp_graph>i*di)i;
|
|
215 glp_weak_comp(*<_glp_graph>i)i;
|
|
216 glp_write_asnprob(*<_glp_graph>ii*c)i;
|
|
217 glp_write_ccdata(*<_glp_graph>i*c)i;
|
|
218 glp_write_cnfsat(*<glp_prob>*c)i;
|
|
219 glp_write_graph(*<_glp_graph>*c)i;
|
|
220 glp_write_ipt(*<glp_prob>*c)i;
|
|
221 glp_write_lp(*<glp_prob>*<glp_cpxcp>*c)i;
|
|
222 glp_write_maxflow(*<_glp_graph>iii*c)i;
|
|
223 glp_write_mincost(*<_glp_graph>iiii*c)i;
|
|
224 glp_write_mip(*<glp_prob>*c)i;
|
|
225 glp_write_mps(*<glp_prob>i*<glp_mpscp>*c)i;
|
|
226 glp_write_prob(*<glp_prob>i*c)i;
|
|
227 glp_write_sol(*<glp_prob>*c)i;
|
|
228 ")
|
|
229 GLPK_H=
|
|
230 GLP_ASN_MAX=2
|
|
231 GLP_ASN_MIN=1
|
|
232 GLP_ASN_MMP=3
|
|
233 GLP_BF_BG=2
|
|
234 GLP_BF_FT=1
|
|
235 GLP_BF_GR=3
|
|
236 GLP_BR_DTH=4
|
|
237 GLP_BR_FFV=1
|
|
238 GLP_BR_LFV=2
|
|
239 GLP_BR_MFV=3
|
|
240 GLP_BR_PCH=5
|
|
241 GLP_BS=1
|
|
242 GLP_BT_BFS=2
|
|
243 GLP_BT_BLB=3
|
|
244 GLP_BT_BPH=4
|
|
245 GLP_BT_DFS=1
|
|
246 GLP_BV=3
|
|
247 GLP_CV=1
|
|
248 GLP_DATA_DEFINED=
|
|
249 GLP_DB=4
|
|
250 GLP_DN_BRNCH=1
|
|
251 GLP_DUAL=3
|
|
252 GLP_DUALP=2
|
|
253 GLP_EBADB=0x01
|
|
254 GLP_EBOUND=0x04
|
|
255 GLP_ECOND=0x03
|
|
256 GLP_EDATA=0x12
|
|
257 GLP_EFAIL=0x05
|
|
258 GLP_EINSTAB=0x11
|
|
259 GLP_EITLIM=0x08
|
|
260 GLP_EMIPGAP=0x0E
|
|
261 GLP_ENOCVG=0x10
|
|
262 GLP_ENODFS=0x0B
|
|
263 GLP_ENOFEAS=0x0F
|
|
264 GLP_ENOPFS=0x0A
|
|
265 GLP_EOBJLL=0x06
|
|
266 GLP_EOBJUL=0x07
|
|
267 GLP_ERANGE=0x13
|
|
268 GLP_EROOT=0x0C
|
|
269 GLP_ERROR_DEFINED=
|
|
270 GLP_ESING=0x02
|
|
271 GLP_ESTOP=0x0D
|
|
272 GLP_ETMLIM=0x09
|
|
273 GLP_FEAS=2
|
|
274 GLP_FR=1
|
|
275 GLP_FX=5
|
|
276 GLP_IBINGO=0x02
|
|
277 GLP_IBRANCH=0x05
|
|
278 GLP_ICUTGEN=0x04
|
|
279 GLP_IHEUR=0x03
|
|
280 GLP_INFEAS=3
|
|
281 GLP_IPREPRO=0x07
|
|
282 GLP_IPT=2
|
|
283 GLP_IROWGEN=0x01
|
|
284 GLP_ISELECT=0x06
|
|
285 GLP_IV=2
|
|
286 GLP_KKT_CS=5
|
|
287 GLP_KKT_DB=4
|
|
288 GLP_KKT_DE=3
|
|
289 GLP_KKT_PB=2
|
|
290 GLP_KKT_PE=1
|
|
291 GLP_LO=2
|
|
292 GLP_LONG_DEFINED=
|
|
293 GLP_MAJOR_VERSION=4
|
|
294 GLP_MAX=2
|
|
295 GLP_MIN=1
|
|
296 GLP_MINOR_VERSION=47
|
|
297 GLP_MIP=3
|
|
298 GLP_MPS_DECK=1
|
|
299 GLP_MPS_FILE=2
|
|
300 GLP_MSG_ALL=3
|
|
301 GLP_MSG_DBG=4
|
|
302 GLP_MSG_ERR=1
|
|
303 GLP_MSG_OFF=0
|
|
304 GLP_MSG_ON=2
|
|
305 GLP_NF=4
|
|
306 GLP_NL=2
|
|
307 GLP_NOFEAS=4
|
|
308 GLP_NO_BRNCH=0
|
|
309 GLP_NS=5
|
|
310 GLP_NU=3
|
|
311 GLP_OFF=0
|
|
312 GLP_ON=1
|
|
313 GLP_OPT=5
|
|
314 GLP_ORD_AMD=2
|
|
315 GLP_ORD_NONE=0
|
|
316 GLP_ORD_QMD=1
|
|
317 GLP_ORD_SYMAMD=3
|
|
318 GLP_PP_ALL=2
|
|
319 GLP_PP_NONE=0
|
|
320 GLP_PP_ROOT=1
|
|
321 GLP_PRIMAL=1
|
|
322 GLP_PROB_DEFINED=
|
|
323 GLP_PT_PSE=0x22
|
|
324 GLP_PT_STD=0x11
|
|
325 GLP_RF_CLQ=4
|
|
326 GLP_RF_COV=3
|
|
327 GLP_RF_CUT=2
|
|
328 GLP_RF_GMI=1
|
|
329 GLP_RF_LAZY=1
|
|
330 GLP_RF_MIR=2
|
|
331 GLP_RF_REG=0
|
|
332 GLP_RT_HAR=0x22
|
|
333 GLP_RT_STD=0x11
|
|
334 GLP_SF_2N=0x20
|
|
335 GLP_SF_AUTO=0x80
|
|
336 GLP_SF_EQ=0x10
|
|
337 GLP_SF_GM=0x01
|
|
338 GLP_SF_SKIP=0x40
|
|
339 GLP_SOL=1
|
|
340 GLP_TRAN_DEFINED=
|
|
341 GLP_TREE_DEFINED=
|
|
342 GLP_UNBND=6
|
|
343 GLP_UNDEF=1
|
|
344 GLP_UP=3
|
|
345 GLP_UP_BRNCH=2
|
|
346
|