GLPK for C#/CLI  1.10.0
GLPK.cs
1 //------------------------------------------------------------------------------
2 // <auto-generated />
3 //
4 // This file was automatically generated by SWIG (http://www.swig.org).
5 // Version 3.0.8
6 //
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
10 
11 namespace org.gnu.glpk {
12 
13 public class GLPK {
14 
26 public static SWIGTYPE_p_double new_doubleArray(int nelements) {
27  global::System.IntPtr cPtr = GLPKPINVOKE.new_doubleArray(nelements);
28  SWIGTYPE_p_double ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_double(cPtr, false);
30  return ret;
31  }
32 
33 
40 public static void delete_doubleArray(SWIGTYPE_p_double ary) {
41  GLPKPINVOKE.delete_doubleArray(SWIGTYPE_p_double.getCPtr(ary));
43  }
44 
45 
54 public static double doubleArray_getitem(SWIGTYPE_p_double ary, int index) {
55  double ret = GLPKPINVOKE.doubleArray_getitem(SWIGTYPE_p_double.getCPtr(ary), index);
57  return ret;
58  }
59 
60 
69 public static void doubleArray_setitem(SWIGTYPE_p_double ary, int index, double value) {
70  GLPKPINVOKE.doubleArray_setitem(SWIGTYPE_p_double.getCPtr(ary), index, value);
72  }
73 
74 
86 public static SWIGTYPE_p_int new_intArray(int nelements) {
87  global::System.IntPtr cPtr = GLPKPINVOKE.new_intArray(nelements);
88  SWIGTYPE_p_int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false);
90  return ret;
91  }
92 
93 
100 public static void delete_intArray(SWIGTYPE_p_int ary) {
101  GLPKPINVOKE.delete_intArray(SWIGTYPE_p_int.getCPtr(ary));
103  }
104 
105 
114 public static int intArray_getitem(SWIGTYPE_p_int ary, int index) {
115  int ret = GLPKPINVOKE.intArray_getitem(SWIGTYPE_p_int.getCPtr(ary), index);
117  return ret;
118  }
119 
120 
129 public static void intArray_setitem(SWIGTYPE_p_int ary, int index, int value) {
130  GLPKPINVOKE.intArray_setitem(SWIGTYPE_p_int.getCPtr(ary), index, value);
132  }
133 
134 
141 public static void glp_cli_error(string message) {
142  GLPKPINVOKE.glp_cli_error(message);
144  }
145 
146 
156 public static void glp_cli_set_msg_lvl(int msg_lvl) {
157  GLPKPINVOKE.glp_cli_set_msg_lvl(msg_lvl);
159  }
160 
161  public static void glp_cli_set_numeric_locale(string locale) {
162  GLPKPINVOKE.glp_cli_set_numeric_locale(locale);
164  }
165 
166 
174  global::System.IntPtr cPtr = GLPKPINVOKE.glp_cli_arc_get_data(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_arc.getCPtr(arc)));
175  glp_cli_arc_data ret = (cPtr == global::System.IntPtr.Zero) ? null : new glp_cli_arc_data(cPtr, false);
177  return ret;
178  }
179 
180 
189  global::System.IntPtr cPtr = GLPKPINVOKE.glp_cli_vertex_data_get(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), i);
190  glp_cli_vertex_data ret = (cPtr == global::System.IntPtr.Zero) ? null : new glp_cli_vertex_data(cPtr, false);
192  return ret;
193  }
194 
195 
203  global::System.IntPtr cPtr = GLPKPINVOKE.glp_cli_vertex_get_data(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_vertex.getCPtr(v)));
204  glp_cli_vertex_data ret = (cPtr == global::System.IntPtr.Zero) ? null : new glp_cli_vertex_data(cPtr, false);
206  return ret;
207  }
208 
209 
217 public static glp_vertex glp_cli_vertex_get(glp_graph G, int i) {
218  global::System.IntPtr cPtr = GLPKPINVOKE.glp_cli_vertex_get(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), i);
220  return (cPtr == global::System.IntPtr.Zero) ? null : new glp_vertex(cPtr, false);
221  }
222 
223 
226 public static glp_prob glp_create_prob() {
227  global::System.IntPtr cPtr = GLPKPINVOKE.glp_create_prob();
228  glp_prob ret = (cPtr == global::System.IntPtr.Zero) ? null : new glp_prob(cPtr, false);
230  return ret;
231  }
232 
233 
242 public static void glp_set_prob_name(glp_prob P, string name) {
243  GLPKPINVOKE.glp_set_prob_name(glp_prob.getCPtr(P), name);
245  }
246 
247 
256 public static void glp_set_obj_name(glp_prob P, string name) {
257  GLPKPINVOKE.glp_set_obj_name(glp_prob.getCPtr(P), name);
259  }
260 
261 
270 public static void glp_set_obj_dir(glp_prob P, int dir) {
271  GLPKPINVOKE.glp_set_obj_dir(glp_prob.getCPtr(P), dir);
273  }
274 
275 
286 public static int glp_add_rows(glp_prob P, int nrs) {
287  int ret = GLPKPINVOKE.glp_add_rows(glp_prob.getCPtr(P), nrs);
289  return ret;
290  }
291 
292 
303 public static int glp_add_cols(glp_prob P, int ncs) {
304  int ret = GLPKPINVOKE.glp_add_cols(glp_prob.getCPtr(P), ncs);
306  return ret;
307  }
308 
309 
318 public static void glp_set_row_name(glp_prob P, int i, string name) {
319  GLPKPINVOKE.glp_set_row_name(glp_prob.getCPtr(P), i, name);
321  }
322 
323 
332 public static void glp_set_col_name(glp_prob P, int j, string name) {
333  GLPKPINVOKE.glp_set_col_name(glp_prob.getCPtr(P), j, name);
335  }
336 
337 
351 public static void glp_set_row_bnds(glp_prob P, int i, int type, double lb, double ub) {
352  GLPKPINVOKE.glp_set_row_bnds(glp_prob.getCPtr(P), i, type, lb, ub);
354  }
355 
356 
370 public static void glp_set_col_bnds(glp_prob P, int j, int type, double lb, double ub) {
371  GLPKPINVOKE.glp_set_col_bnds(glp_prob.getCPtr(P), j, type, lb, ub);
373  }
374 
375 
385 public static void glp_set_obj_coef(glp_prob P, int j, double coef) {
386  GLPKPINVOKE.glp_set_obj_coef(glp_prob.getCPtr(P), j, coef);
388  }
389 
390 
400 public static void glp_set_mat_row(glp_prob P, int i, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val) {
401  GLPKPINVOKE.glp_set_mat_row(glp_prob.getCPtr(P), i, len, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val));
403  }
404 
405 
415 public static void glp_set_mat_col(glp_prob P, int j, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val) {
416  GLPKPINVOKE.glp_set_mat_col(glp_prob.getCPtr(P), j, len, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val));
418  }
419 
420 
430 public static void glp_load_matrix(glp_prob P, int ne, SWIGTYPE_p_int ia, SWIGTYPE_p_int ja, SWIGTYPE_p_double ar) {
431  GLPKPINVOKE.glp_load_matrix(glp_prob.getCPtr(P), ne, SWIGTYPE_p_int.getCPtr(ia), SWIGTYPE_p_int.getCPtr(ja), SWIGTYPE_p_double.getCPtr(ar));
433  }
434 
435 
452 public static int glp_check_dup(int m, int n, int ne, SWIGTYPE_p_int ia, SWIGTYPE_p_int ja) {
453  int ret = GLPKPINVOKE.glp_check_dup(m, n, ne, SWIGTYPE_p_int.getCPtr(ia), SWIGTYPE_p_int.getCPtr(ja));
455  return ret;
456  }
457 
458 
466 public static void glp_sort_matrix(glp_prob P) {
467  GLPKPINVOKE.glp_sort_matrix(glp_prob.getCPtr(P));
469  }
470 
471 
480 public static void glp_del_rows(glp_prob P, int nrs, SWIGTYPE_p_int num) {
481  GLPKPINVOKE.glp_del_rows(glp_prob.getCPtr(P), nrs, SWIGTYPE_p_int.getCPtr(num));
483  }
484 
485 
494 public static void glp_del_cols(glp_prob P, int ncs, SWIGTYPE_p_int num) {
495  GLPKPINVOKE.glp_del_cols(glp_prob.getCPtr(P), ncs, SWIGTYPE_p_int.getCPtr(num));
497  }
498 
499 
508 public static void glp_copy_prob(glp_prob dest, glp_prob prob, int names) {
509  GLPKPINVOKE.glp_copy_prob(glp_prob.getCPtr(dest), glp_prob.getCPtr(prob), names);
511  }
512 
513 
516 public static void glp_erase_prob(glp_prob P) {
517  GLPKPINVOKE.glp_erase_prob(glp_prob.getCPtr(P));
519  }
520 
521 
524 public static void glp_delete_prob(glp_prob P) {
525  GLPKPINVOKE.glp_delete_prob(glp_prob.getCPtr(P));
527  }
528 
529 
537 public static string glp_get_prob_name(glp_prob P) {
538  string ret = GLPKPINVOKE.glp_get_prob_name(glp_prob.getCPtr(P));
540  return ret;
541  }
542 
543 
551 public static string glp_get_obj_name(glp_prob P) {
552  string ret = GLPKPINVOKE.glp_get_obj_name(glp_prob.getCPtr(P));
554  return ret;
555  }
556 
557 
566 public static int glp_get_obj_dir(glp_prob P) {
567  int ret = GLPKPINVOKE.glp_get_obj_dir(glp_prob.getCPtr(P));
569  return ret;
570  }
571 
572 
580 public static int glp_get_num_rows(glp_prob P) {
581  int ret = GLPKPINVOKE.glp_get_num_rows(glp_prob.getCPtr(P));
583  return ret;
584  }
585 
586 
594 public static int glp_get_num_cols(glp_prob P) {
595  int ret = GLPKPINVOKE.glp_get_num_cols(glp_prob.getCPtr(P));
597  return ret;
598  }
599 
600 
608 public static string glp_get_row_name(glp_prob P, int i) {
609  string ret = GLPKPINVOKE.glp_get_row_name(glp_prob.getCPtr(P), i);
611  return ret;
612  }
613 
614 
622 public static string glp_get_col_name(glp_prob P, int j) {
623  string ret = GLPKPINVOKE.glp_get_col_name(glp_prob.getCPtr(P), j);
625  return ret;
626  }
627 
628 
637 public static int glp_get_row_type(glp_prob P, int i) {
638  int ret = GLPKPINVOKE.glp_get_row_type(glp_prob.getCPtr(P), i);
640  return ret;
641  }
642 
643 
651 public static double glp_get_row_lb(glp_prob P, int i) {
652  double ret = GLPKPINVOKE.glp_get_row_lb(glp_prob.getCPtr(P), i);
654  return ret;
655  }
656 
657 
665 public static double glp_get_row_ub(glp_prob P, int i) {
666  double ret = GLPKPINVOKE.glp_get_row_ub(glp_prob.getCPtr(P), i);
668  return ret;
669  }
670 
671 
680 public static int glp_get_col_type(glp_prob P, int j) {
681  int ret = GLPKPINVOKE.glp_get_col_type(glp_prob.getCPtr(P), j);
683  return ret;
684  }
685 
686 
694 public static double glp_get_col_lb(glp_prob P, int j) {
695  double ret = GLPKPINVOKE.glp_get_col_lb(glp_prob.getCPtr(P), j);
697  return ret;
698  }
699 
700 
708 public static double glp_get_col_ub(glp_prob P, int j) {
709  double ret = GLPKPINVOKE.glp_get_col_ub(glp_prob.getCPtr(P), j);
711  return ret;
712  }
713 
714 
724 public static double glp_get_obj_coef(glp_prob P, int j) {
725  double ret = GLPKPINVOKE.glp_get_obj_coef(glp_prob.getCPtr(P), j);
727  return ret;
728  }
729 
730 
738 public static int glp_get_num_nz(glp_prob P) {
739  int ret = GLPKPINVOKE.glp_get_num_nz(glp_prob.getCPtr(P));
741  return ret;
742  }
743 
744 
755 public static int glp_get_mat_row(glp_prob P, int i, SWIGTYPE_p_int ind, SWIGTYPE_p_double val) {
756  int ret = GLPKPINVOKE.glp_get_mat_row(glp_prob.getCPtr(P), i, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val));
758  return ret;
759  }
760 
761 
772 public static int glp_get_mat_col(glp_prob P, int j, SWIGTYPE_p_int ind, SWIGTYPE_p_double val) {
773  int ret = GLPKPINVOKE.glp_get_mat_col(glp_prob.getCPtr(P), j, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val));
775  return ret;
776  }
777 
778 
787 public static void glp_create_index(glp_prob P) {
788  GLPKPINVOKE.glp_create_index(glp_prob.getCPtr(P));
790  }
791 
792 
800 public static int glp_find_row(glp_prob P, string name) {
801  int ret = GLPKPINVOKE.glp_find_row(glp_prob.getCPtr(P), name);
803  return ret;
804  }
805 
806 
814 public static int glp_find_col(glp_prob P, string name) {
815  int ret = GLPKPINVOKE.glp_find_col(glp_prob.getCPtr(P), name);
817  return ret;
818  }
819 
820 
829 public static void glp_delete_index(glp_prob P) {
830  GLPKPINVOKE.glp_delete_index(glp_prob.getCPtr(P));
832  }
833 
834 
842 public static void glp_set_rii(glp_prob P, int i, double rii) {
843  GLPKPINVOKE.glp_set_rii(glp_prob.getCPtr(P), i, rii);
845  }
846 
847 
855 public static void glp_set_sjj(glp_prob P, int j, double sjj) {
856  GLPKPINVOKE.glp_set_sjj(glp_prob.getCPtr(P), j, sjj);
858  }
859 
860 
868 public static double glp_get_rii(glp_prob P, int i) {
869  double ret = GLPKPINVOKE.glp_get_rii(glp_prob.getCPtr(P), i);
871  return ret;
872  }
873 
874 
882 public static double glp_get_sjj(glp_prob P, int j) {
883  double ret = GLPKPINVOKE.glp_get_sjj(glp_prob.getCPtr(P), j);
885  return ret;
886  }
887 
888 
899 public static void glp_scale_prob(glp_prob P, int flags) {
900  GLPKPINVOKE.glp_scale_prob(glp_prob.getCPtr(P), flags);
902  }
903 
904 
913 public static void glp_unscale_prob(glp_prob P) {
914  GLPKPINVOKE.glp_unscale_prob(glp_prob.getCPtr(P));
916  }
917 
918 
928 public static void glp_set_row_stat(glp_prob P, int i, int stat) {
929  GLPKPINVOKE.glp_set_row_stat(glp_prob.getCPtr(P), i, stat);
931  }
932 
933 
943 public static void glp_set_col_stat(glp_prob P, int j, int stat) {
944  GLPKPINVOKE.glp_set_col_stat(glp_prob.getCPtr(P), j, stat);
946  }
947 
948 
957 public static void glp_std_basis(glp_prob P) {
958  GLPKPINVOKE.glp_std_basis(glp_prob.getCPtr(P));
960  }
961 
962 
965 public static void glp_adv_basis(glp_prob P, int flags) {
966  GLPKPINVOKE.glp_adv_basis(glp_prob.getCPtr(P), flags);
968  }
969 
970 
980 public static void glp_cpx_basis(glp_prob P) {
981  GLPKPINVOKE.glp_cpx_basis(glp_prob.getCPtr(P));
983  }
984 
985 
988 public static int glp_simplex(glp_prob P, glp_smcp parm) {
989  int ret = GLPKPINVOKE.glp_simplex(glp_prob.getCPtr(P), glp_smcp.getCPtr(parm));
991  return ret;
992  }
993 
994 
997 public static int glp_exact(glp_prob P, glp_smcp parm) {
998  int ret = GLPKPINVOKE.glp_exact(glp_prob.getCPtr(P), glp_smcp.getCPtr(parm));
1000  return ret;
1001  }
1002 
1003 
1012 public static void glp_init_smcp(glp_smcp parm) {
1013  GLPKPINVOKE.glp_init_smcp(glp_smcp.getCPtr(parm));
1014  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1015  }
1016 
1017 
1026 public static int glp_get_status(glp_prob P) {
1027  int ret = GLPKPINVOKE.glp_get_status(glp_prob.getCPtr(P));
1028  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1029  return ret;
1030  }
1031 
1032 
1041 public static int glp_get_prim_stat(glp_prob P) {
1042  int ret = GLPKPINVOKE.glp_get_prim_stat(glp_prob.getCPtr(P));
1043  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1044  return ret;
1045  }
1046 
1047 
1056 public static int glp_get_dual_stat(glp_prob P) {
1057  int ret = GLPKPINVOKE.glp_get_dual_stat(glp_prob.getCPtr(P));
1058  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1059  return ret;
1060  }
1061 
1062 
1070 public static double glp_get_obj_val(glp_prob P) {
1071  double ret = GLPKPINVOKE.glp_get_obj_val(glp_prob.getCPtr(P));
1072  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1073  return ret;
1074  }
1075 
1076 
1085 public static int glp_get_row_stat(glp_prob P, int i) {
1086  int ret = GLPKPINVOKE.glp_get_row_stat(glp_prob.getCPtr(P), i);
1087  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1088  return ret;
1089  }
1090 
1091 
1099 public static double glp_get_row_prim(glp_prob P, int i) {
1100  double ret = GLPKPINVOKE.glp_get_row_prim(glp_prob.getCPtr(P), i);
1101  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1102  return ret;
1103  }
1104 
1105 
1113 public static double glp_get_row_dual(glp_prob P, int i) {
1114  double ret = GLPKPINVOKE.glp_get_row_dual(glp_prob.getCPtr(P), i);
1115  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1116  return ret;
1117  }
1118 
1119 
1128 public static int glp_get_col_stat(glp_prob P, int j) {
1129  int ret = GLPKPINVOKE.glp_get_col_stat(glp_prob.getCPtr(P), j);
1130  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1131  return ret;
1132  }
1133 
1134 
1142 public static double glp_get_col_prim(glp_prob P, int j) {
1143  double ret = GLPKPINVOKE.glp_get_col_prim(glp_prob.getCPtr(P), j);
1144  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1145  return ret;
1146  }
1147 
1148 
1156 public static double glp_get_col_dual(glp_prob P, int j) {
1157  double ret = GLPKPINVOKE.glp_get_col_dual(glp_prob.getCPtr(P), j);
1158  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1159  return ret;
1160  }
1161 
1162 
1172 public static int glp_get_unbnd_ray(glp_prob P) {
1173  int ret = GLPKPINVOKE.glp_get_unbnd_ray(glp_prob.getCPtr(P));
1174  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1175  return ret;
1176  }
1177 
1178 
1181 public static int glp_get_it_cnt(glp_prob P) {
1182  int ret = GLPKPINVOKE.glp_get_it_cnt(glp_prob.getCPtr(P));
1183  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1184  return ret;
1185  }
1186 
1187 
1190 public static void glp_set_it_cnt(glp_prob P, int it_cnt) {
1191  GLPKPINVOKE.glp_set_it_cnt(glp_prob.getCPtr(P), it_cnt);
1192  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1193  }
1194 
1195 
1198 public static int glp_interior(glp_prob P, glp_iptcp parm) {
1199  int ret = GLPKPINVOKE.glp_interior(glp_prob.getCPtr(P), glp_iptcp.getCPtr(parm));
1200  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1201  return ret;
1202  }
1203 
1204 
1213 public static void glp_init_iptcp(glp_iptcp parm) {
1214  GLPKPINVOKE.glp_init_iptcp(glp_iptcp.getCPtr(parm));
1215  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1216  }
1217 
1218 
1227 public static int glp_ipt_status(glp_prob P) {
1228  int ret = GLPKPINVOKE.glp_ipt_status(glp_prob.getCPtr(P));
1229  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1230  return ret;
1231  }
1232 
1233 
1241 public static double glp_ipt_obj_val(glp_prob P) {
1242  double ret = GLPKPINVOKE.glp_ipt_obj_val(glp_prob.getCPtr(P));
1243  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1244  return ret;
1245  }
1246 
1247 
1255 public static double glp_ipt_row_prim(glp_prob P, int i) {
1256  double ret = GLPKPINVOKE.glp_ipt_row_prim(glp_prob.getCPtr(P), i);
1257  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1258  return ret;
1259  }
1260 
1261 
1269 public static double glp_ipt_row_dual(glp_prob P, int i) {
1270  double ret = GLPKPINVOKE.glp_ipt_row_dual(glp_prob.getCPtr(P), i);
1271  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1272  return ret;
1273  }
1274 
1275 
1283 public static double glp_ipt_col_prim(glp_prob P, int j) {
1284  double ret = GLPKPINVOKE.glp_ipt_col_prim(glp_prob.getCPtr(P), j);
1285  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1286  return ret;
1287  }
1288 
1289 
1297 public static double glp_ipt_col_dual(glp_prob P, int j) {
1298  double ret = GLPKPINVOKE.glp_ipt_col_dual(glp_prob.getCPtr(P), j);
1299  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1300  return ret;
1301  }
1302 
1303 
1312 public static void glp_set_col_kind(glp_prob P, int j, int kind) {
1313  GLPKPINVOKE.glp_set_col_kind(glp_prob.getCPtr(P), j, kind);
1314  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1315  }
1316 
1317 
1326 public static int glp_get_col_kind(glp_prob P, int j) {
1327  int ret = GLPKPINVOKE.glp_get_col_kind(glp_prob.getCPtr(P), j);
1328  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1329  return ret;
1330  }
1331 
1332 
1340 public static int glp_get_num_int(glp_prob P) {
1341  int ret = GLPKPINVOKE.glp_get_num_int(glp_prob.getCPtr(P));
1342  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1343  return ret;
1344  }
1345 
1346 
1354 public static int glp_get_num_bin(glp_prob P) {
1355  int ret = GLPKPINVOKE.glp_get_num_bin(glp_prob.getCPtr(P));
1356  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1357  return ret;
1358  }
1359 
1360 
1363 public static int glp_intopt(glp_prob P, glp_iocp parm) {
1364  int ret = GLPKPINVOKE.glp_intopt(glp_prob.getCPtr(P), glp_iocp.getCPtr(parm));
1365  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1366  return ret;
1367  }
1368 
1369 
1378 public static void glp_init_iocp(glp_iocp parm) {
1379  GLPKPINVOKE.glp_init_iocp(glp_iocp.getCPtr(parm));
1380  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1381  }
1382 
1383 
1392 public static int glp_mip_status(glp_prob P) {
1393  int ret = GLPKPINVOKE.glp_mip_status(glp_prob.getCPtr(P));
1394  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1395  return ret;
1396  }
1397 
1398 
1406 public static double glp_mip_obj_val(glp_prob P) {
1407  double ret = GLPKPINVOKE.glp_mip_obj_val(glp_prob.getCPtr(P));
1408  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1409  return ret;
1410  }
1411 
1412 
1420 public static double glp_mip_row_val(glp_prob P, int i) {
1421  double ret = GLPKPINVOKE.glp_mip_row_val(glp_prob.getCPtr(P), i);
1422  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1423  return ret;
1424  }
1425 
1426 
1434 public static double glp_mip_col_val(glp_prob P, int j) {
1435  double ret = GLPKPINVOKE.glp_mip_col_val(glp_prob.getCPtr(P), j);
1436  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1437  return ret;
1438  }
1439 
1440 
1443 public static void glp_check_kkt(glp_prob P, int sol, int cond, SWIGTYPE_p_double ae_max, SWIGTYPE_p_int ae_ind, SWIGTYPE_p_double re_max, SWIGTYPE_p_int re_ind) {
1444  GLPKPINVOKE.glp_check_kkt(glp_prob.getCPtr(P), sol, cond, SWIGTYPE_p_double.getCPtr(ae_max), SWIGTYPE_p_int.getCPtr(ae_ind), SWIGTYPE_p_double.getCPtr(re_max), SWIGTYPE_p_int.getCPtr(re_ind));
1445  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1446  }
1447 
1448 
1451 public static int glp_print_sol(glp_prob P, string fname) {
1452  int ret = GLPKPINVOKE.glp_print_sol(glp_prob.getCPtr(P), fname);
1453  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1454  return ret;
1455  }
1456 
1457 
1468 public static int glp_read_sol(glp_prob P, string fname) {
1469  int ret = GLPKPINVOKE.glp_read_sol(glp_prob.getCPtr(P), fname);
1470  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1471  return ret;
1472  }
1473 
1474 
1488 public static int glp_write_sol(glp_prob P, string fname) {
1489  int ret = GLPKPINVOKE.glp_write_sol(glp_prob.getCPtr(P), fname);
1490  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1491  return ret;
1492  }
1493 
1494 
1497 public static int glp_print_ranges(glp_prob P, int len, SWIGTYPE_p_int list, int flags, string fname) {
1498  int ret = GLPKPINVOKE.glp_print_ranges(glp_prob.getCPtr(P), len, SWIGTYPE_p_int.getCPtr(list), flags, fname);
1499  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1500  return ret;
1501  }
1502 
1503 
1506 public static int glp_print_ipt(glp_prob P, string fname) {
1507  int ret = GLPKPINVOKE.glp_print_ipt(glp_prob.getCPtr(P), fname);
1508  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1509  return ret;
1510  }
1511 
1512 
1523 public static int glp_read_ipt(glp_prob P, string fname) {
1524  int ret = GLPKPINVOKE.glp_read_ipt(glp_prob.getCPtr(P), fname);
1525  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1526  return ret;
1527  }
1528 
1529 
1543 public static int glp_write_ipt(glp_prob P, string fname) {
1544  int ret = GLPKPINVOKE.glp_write_ipt(glp_prob.getCPtr(P), fname);
1545  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1546  return ret;
1547  }
1548 
1549 
1552 public static int glp_print_mip(glp_prob P, string fname) {
1553  int ret = GLPKPINVOKE.glp_print_mip(glp_prob.getCPtr(P), fname);
1554  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1555  return ret;
1556  }
1557 
1558 
1569 public static int glp_read_mip(glp_prob P, string fname) {
1570  int ret = GLPKPINVOKE.glp_read_mip(glp_prob.getCPtr(P), fname);
1571  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1572  return ret;
1573  }
1574 
1575 
1589 public static int glp_write_mip(glp_prob P, string fname) {
1590  int ret = GLPKPINVOKE.glp_write_mip(glp_prob.getCPtr(P), fname);
1591  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1592  return ret;
1593  }
1594 
1595 
1603 public static int glp_bf_exists(glp_prob P) {
1604  int ret = GLPKPINVOKE.glp_bf_exists(glp_prob.getCPtr(P));
1605  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1606  return ret;
1607  }
1608 
1609 
1612 public static int glp_factorize(glp_prob P) {
1613  int ret = GLPKPINVOKE.glp_factorize(glp_prob.getCPtr(P));
1614  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1615  return ret;
1616  }
1617 
1618 
1626 public static int glp_bf_updated(glp_prob P) {
1627  int ret = GLPKPINVOKE.glp_bf_updated(glp_prob.getCPtr(P));
1628  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1629  return ret;
1630  }
1631 
1632 
1641 public static void glp_get_bfcp(glp_prob P, glp_bfcp parm) {
1642  GLPKPINVOKE.glp_get_bfcp(glp_prob.getCPtr(P), glp_bfcp.getCPtr(parm));
1643  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1644  }
1645 
1646 
1656 public static void glp_set_bfcp(glp_prob P, glp_bfcp parm) {
1657  GLPKPINVOKE.glp_set_bfcp(glp_prob.getCPtr(P), glp_bfcp.getCPtr(parm));
1658  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1659  }
1660 
1661 
1671 public static int glp_get_bhead(glp_prob P, int k) {
1672  int ret = GLPKPINVOKE.glp_get_bhead(glp_prob.getCPtr(P), k);
1673  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1674  return ret;
1675  }
1676 
1677 
1685 public static int glp_get_row_bind(glp_prob P, int i) {
1686  int ret = GLPKPINVOKE.glp_get_row_bind(glp_prob.getCPtr(P), i);
1687  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1688  return ret;
1689  }
1690 
1691 
1699 public static int glp_get_col_bind(glp_prob P, int j) {
1700  int ret = GLPKPINVOKE.glp_get_col_bind(glp_prob.getCPtr(P), j);
1701  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1702  return ret;
1703  }
1704 
1705 
1727 public static void glp_ftran(glp_prob P, SWIGTYPE_p_double x) {
1728  GLPKPINVOKE.glp_ftran(glp_prob.getCPtr(P), SWIGTYPE_p_double.getCPtr(x));
1729  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1730  }
1731 
1732 
1743 public static void glp_btran(glp_prob P, SWIGTYPE_p_double x) {
1744  GLPKPINVOKE.glp_btran(glp_prob.getCPtr(P), SWIGTYPE_p_double.getCPtr(x));
1745  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1746  }
1747 
1748 
1762 public static int glp_warm_up(glp_prob P) {
1763  int ret = GLPKPINVOKE.glp_warm_up(glp_prob.getCPtr(P));
1764  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1765  return ret;
1766  }
1767 
1768 
1807 public static int glp_eval_tab_row(glp_prob P, int k, SWIGTYPE_p_int ind, SWIGTYPE_p_double val) {
1808  int ret = GLPKPINVOKE.glp_eval_tab_row(glp_prob.getCPtr(P), k, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val));
1809  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1810  return ret;
1811  }
1812 
1813 
1834 public static int glp_eval_tab_col(glp_prob P, int k, SWIGTYPE_p_int ind, SWIGTYPE_p_double val) {
1835  int ret = GLPKPINVOKE.glp_eval_tab_col(glp_prob.getCPtr(P), k, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val));
1836  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1837  return ret;
1838  }
1839 
1840 
1872 public static int glp_transform_row(glp_prob P, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val) {
1873  int ret = GLPKPINVOKE.glp_transform_row(glp_prob.getCPtr(P), len, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val));
1874  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1875  return ret;
1876  }
1877 
1878 
1900 public static int glp_transform_col(glp_prob P, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val) {
1901  int ret = GLPKPINVOKE.glp_transform_col(glp_prob.getCPtr(P), len, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val));
1902  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1903  return ret;
1904  }
1905 
1906 
1925 public static int glp_prim_rtest(glp_prob P, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val, int dir, double eps) {
1926  int ret = GLPKPINVOKE.glp_prim_rtest(glp_prob.getCPtr(P), len, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val), dir, eps);
1927  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1928  return ret;
1929  }
1930 
1931 
1950 public static int glp_dual_rtest(glp_prob P, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val, int dir, double eps) {
1951  int ret = GLPKPINVOKE.glp_dual_rtest(glp_prob.getCPtr(P), len, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val), dir, eps);
1952  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1953  return ret;
1954  }
1955 
1956 
1971 public static void glp_analyze_bound(glp_prob P, int k, SWIGTYPE_p_double value1, SWIGTYPE_p_int var1, SWIGTYPE_p_double value2, SWIGTYPE_p_int var2) {
1972  GLPKPINVOKE.glp_analyze_bound(glp_prob.getCPtr(P), k, SWIGTYPE_p_double.getCPtr(value1), SWIGTYPE_p_int.getCPtr(var1), SWIGTYPE_p_double.getCPtr(value2), SWIGTYPE_p_int.getCPtr(var2));
1973  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1974  }
1975 
1976 
1994  GLPKPINVOKE.glp_analyze_coef(glp_prob.getCPtr(P), k, SWIGTYPE_p_double.getCPtr(coef1), SWIGTYPE_p_int.getCPtr(var1), SWIGTYPE_p_double.getCPtr(value1), SWIGTYPE_p_double.getCPtr(coef2), SWIGTYPE_p_int.getCPtr(var2), SWIGTYPE_p_double.getCPtr(value2));
1995  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
1996  }
1997 
1998  public static SWIGTYPE_p_glp_prep glp_npp_alloc_wksp() {
1999  global::System.IntPtr cPtr = GLPKPINVOKE.glp_npp_alloc_wksp();
2000  SWIGTYPE_p_glp_prep ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_glp_prep(cPtr, false);
2001  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2002  return ret;
2003  }
2004 
2005  public static void glp_npp_load_prob(SWIGTYPE_p_glp_prep prep, glp_prob P, int sol, int names) {
2006  GLPKPINVOKE.glp_npp_load_prob(SWIGTYPE_p_glp_prep.getCPtr(prep), glp_prob.getCPtr(P), sol, names);
2007  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2008  }
2009 
2010  public static int glp_npp_preprocess1(SWIGTYPE_p_glp_prep prep, int hard) {
2011  int ret = GLPKPINVOKE.glp_npp_preprocess1(SWIGTYPE_p_glp_prep.getCPtr(prep), hard);
2012  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2013  return ret;
2014  }
2015 
2016  public static void glp_npp_build_prob(SWIGTYPE_p_glp_prep prep, glp_prob Q) {
2017  GLPKPINVOKE.glp_npp_build_prob(SWIGTYPE_p_glp_prep.getCPtr(prep), glp_prob.getCPtr(Q));
2018  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2019  }
2020 
2021  public static void glp_npp_postprocess(SWIGTYPE_p_glp_prep prep, glp_prob Q) {
2022  GLPKPINVOKE.glp_npp_postprocess(SWIGTYPE_p_glp_prep.getCPtr(prep), glp_prob.getCPtr(Q));
2023  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2024  }
2025 
2026  public static void glp_npp_obtain_sol(SWIGTYPE_p_glp_prep prep, glp_prob P) {
2027  GLPKPINVOKE.glp_npp_obtain_sol(SWIGTYPE_p_glp_prep.getCPtr(prep), glp_prob.getCPtr(P));
2028  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2029  }
2030 
2031  public static void glp_npp_free_wksp(SWIGTYPE_p_glp_prep prep) {
2032  GLPKPINVOKE.glp_npp_free_wksp(SWIGTYPE_p_glp_prep.getCPtr(prep));
2033  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2034  }
2035 
2036 
2044 public static int glp_ios_reason(glp_tree T) {
2045  int ret = GLPKPINVOKE.glp_ios_reason(glp_tree.getCPtr(T));
2046  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2047  return ret;
2048  }
2049 
2050 
2061  global::System.IntPtr cPtr = GLPKPINVOKE.glp_ios_get_prob(glp_tree.getCPtr(T));
2062  glp_prob ret = (cPtr == global::System.IntPtr.Zero) ? null : new glp_prob(cPtr, false);
2063  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2064  return ret;
2065  }
2066 
2067 
2079 public static void glp_ios_tree_size(glp_tree T, SWIGTYPE_p_int a_cnt, SWIGTYPE_p_int n_cnt, SWIGTYPE_p_int t_cnt) {
2080  GLPKPINVOKE.glp_ios_tree_size(glp_tree.getCPtr(T), SWIGTYPE_p_int.getCPtr(a_cnt), SWIGTYPE_p_int.getCPtr(n_cnt), SWIGTYPE_p_int.getCPtr(t_cnt));
2081  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2082  }
2083 
2084 
2092 public static int glp_ios_curr_node(glp_tree T) {
2093  int ret = GLPKPINVOKE.glp_ios_curr_node(glp_tree.getCPtr(T));
2094  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2095  return ret;
2096  }
2097 
2098 
2108 public static int glp_ios_next_node(glp_tree T, int p) {
2109  int ret = GLPKPINVOKE.glp_ios_next_node(glp_tree.getCPtr(T), p);
2110  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2111  return ret;
2112  }
2113 
2114 
2124 public static int glp_ios_prev_node(glp_tree T, int p) {
2125  int ret = GLPKPINVOKE.glp_ios_prev_node(glp_tree.getCPtr(T), p);
2126  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2127  return ret;
2128  }
2129 
2130 
2138 public static int glp_ios_up_node(glp_tree T, int p) {
2139  int ret = GLPKPINVOKE.glp_ios_up_node(glp_tree.getCPtr(T), p);
2140  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2141  return ret;
2142  }
2143 
2144 
2152 public static int glp_ios_node_level(glp_tree T, int p) {
2153  int ret = GLPKPINVOKE.glp_ios_node_level(glp_tree.getCPtr(T), p);
2154  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2155  return ret;
2156  }
2157 
2158 
2170 public static double glp_ios_node_bound(glp_tree T, int p) {
2171  double ret = GLPKPINVOKE.glp_ios_node_bound(glp_tree.getCPtr(T), p);
2172  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2173  return ret;
2174  }
2175 
2176 
2186 public static int glp_ios_best_node(glp_tree T) {
2187  int ret = GLPKPINVOKE.glp_ios_best_node(glp_tree.getCPtr(T));
2188  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2189  return ret;
2190  }
2191 
2192 
2204 public static double glp_ios_mip_gap(glp_tree T) {
2205  double ret = GLPKPINVOKE.glp_ios_mip_gap(glp_tree.getCPtr(T));
2206  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2207  return ret;
2208  }
2209 
2210 
2222 public static SWIGTYPE_p_void glp_ios_node_data(glp_tree T, int p) {
2223  global::System.IntPtr cPtr = GLPKPINVOKE.glp_ios_node_data(glp_tree.getCPtr(T), p);
2224  SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
2225  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2226  return ret;
2227  }
2228 
2229 
2237 public static void glp_ios_row_attr(glp_tree T, int i, glp_attr attr) {
2238  GLPKPINVOKE.glp_ios_row_attr(glp_tree.getCPtr(T), i, glp_attr.getCPtr(attr));
2239  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2240  }
2241 
2242 
2245 public static int glp_ios_pool_size(glp_tree T) {
2246  int ret = GLPKPINVOKE.glp_ios_pool_size(glp_tree.getCPtr(T));
2247  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2248  return ret;
2249  }
2250 
2251 
2254 public static int glp_ios_add_row(glp_tree T, string name, int klass, int flags, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val, int type, double rhs) {
2255  int ret = GLPKPINVOKE.glp_ios_add_row(glp_tree.getCPtr(T), name, klass, flags, len, SWIGTYPE_p_int.getCPtr(ind), SWIGTYPE_p_double.getCPtr(val), type, rhs);
2256  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2257  return ret;
2258  }
2259 
2260 
2263 public static void glp_ios_del_row(glp_tree T, int i) {
2264  GLPKPINVOKE.glp_ios_del_row(glp_tree.getCPtr(T), i);
2265  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2266  }
2267 
2268 
2271 public static void glp_ios_clear_pool(glp_tree T) {
2272  GLPKPINVOKE.glp_ios_clear_pool(glp_tree.getCPtr(T));
2273  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2274  }
2275 
2276 
2284 public static int glp_ios_can_branch(glp_tree T, int j) {
2285  int ret = GLPKPINVOKE.glp_ios_can_branch(glp_tree.getCPtr(T), j);
2286  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2287  return ret;
2288  }
2289 
2290 
2300 public static void glp_ios_branch_upon(glp_tree T, int j, int sel) {
2301  GLPKPINVOKE.glp_ios_branch_upon(glp_tree.getCPtr(T), j, sel);
2302  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2303  }
2304 
2305 
2313 public static void glp_ios_select_node(glp_tree T, int p) {
2314  GLPKPINVOKE.glp_ios_select_node(glp_tree.getCPtr(T), p);
2315  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2316  }
2317 
2318 
2331  int ret = GLPKPINVOKE.glp_ios_heur_sol(glp_tree.getCPtr(T), SWIGTYPE_p_double.getCPtr(x));
2332  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2333  return ret;
2334  }
2335 
2336 
2344 public static void glp_ios_terminate(glp_tree T) {
2345  GLPKPINVOKE.glp_ios_terminate(glp_tree.getCPtr(T));
2346  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2347  }
2348 
2349 
2358 public static void glp_init_mpscp(glp_mpscp parm) {
2359  GLPKPINVOKE.glp_init_mpscp(glp_mpscp.getCPtr(parm));
2360  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2361  }
2362 
2363 
2366 public static int glp_read_mps(glp_prob P, int fmt, glp_mpscp parm, string fname) {
2367  int ret = GLPKPINVOKE.glp_read_mps(glp_prob.getCPtr(P), fmt, glp_mpscp.getCPtr(parm), fname);
2368  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2369  return ret;
2370  }
2371 
2372 
2375 public static int glp_write_mps(glp_prob P, int fmt, glp_mpscp parm, string fname) {
2376  int ret = GLPKPINVOKE.glp_write_mps(glp_prob.getCPtr(P), fmt, glp_mpscp.getCPtr(parm), fname);
2377  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2378  return ret;
2379  }
2380 
2381 
2389 public static void glp_init_cpxcp(glp_cpxcp parm) {
2390  GLPKPINVOKE.glp_init_cpxcp(glp_cpxcp.getCPtr(parm));
2391  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2392  }
2393 
2394 
2397 public static int glp_read_lp(glp_prob P, glp_cpxcp parm, string fname) {
2398  int ret = GLPKPINVOKE.glp_read_lp(glp_prob.getCPtr(P), glp_cpxcp.getCPtr(parm), fname);
2399  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2400  return ret;
2401  }
2402 
2403 
2406 public static int glp_write_lp(glp_prob P, glp_cpxcp parm, string fname) {
2407  int ret = GLPKPINVOKE.glp_write_lp(glp_prob.getCPtr(P), glp_cpxcp.getCPtr(parm), fname);
2408  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2409  return ret;
2410  }
2411 
2412 
2421 public static int glp_read_prob(glp_prob P, int flags, string fname) {
2422  int ret = GLPKPINVOKE.glp_read_prob(glp_prob.getCPtr(P), flags, fname);
2423  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2424  return ret;
2425  }
2426 
2427 
2436 public static int glp_write_prob(glp_prob P, int flags, string fname) {
2437  int ret = GLPKPINVOKE.glp_write_prob(glp_prob.getCPtr(P), flags, fname);
2438  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2439  return ret;
2440  }
2441 
2442 
2445 public static glp_tran glp_mpl_alloc_wksp() {
2446  global::System.IntPtr cPtr = GLPKPINVOKE.glp_mpl_alloc_wksp();
2447  glp_tran ret = (cPtr == global::System.IntPtr.Zero) ? null : new glp_tran(cPtr, false);
2448  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2449  return ret;
2450  }
2451 
2452  public static void glp_mpl_init_rand(glp_tran tran, int seed) {
2453  GLPKPINVOKE.glp_mpl_init_rand(glp_tran.getCPtr(tran), seed);
2454  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2455  }
2456 
2457 
2460 public static int glp_mpl_read_model(glp_tran tran, string fname, int skip) {
2461  int ret = GLPKPINVOKE.glp_mpl_read_model(glp_tran.getCPtr(tran), fname, skip);
2462  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2463  return ret;
2464  }
2465 
2466 
2469 public static int glp_mpl_read_data(glp_tran tran, string fname) {
2470  int ret = GLPKPINVOKE.glp_mpl_read_data(glp_tran.getCPtr(tran), fname);
2471  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2472  return ret;
2473  }
2474 
2475 
2478 public static int glp_mpl_generate(glp_tran tran, string fname) {
2479  int ret = GLPKPINVOKE.glp_mpl_generate(glp_tran.getCPtr(tran), fname);
2480  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2481  return ret;
2482  }
2483 
2484 
2487 public static void glp_mpl_build_prob(glp_tran tran, glp_prob prob) {
2488  GLPKPINVOKE.glp_mpl_build_prob(glp_tran.getCPtr(tran), glp_prob.getCPtr(prob));
2489  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2490  }
2491 
2492 
2495 public static int glp_mpl_postsolve(glp_tran tran, glp_prob prob, int sol) {
2496  int ret = GLPKPINVOKE.glp_mpl_postsolve(glp_tran.getCPtr(tran), glp_prob.getCPtr(prob), sol);
2497  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2498  return ret;
2499  }
2500 
2501 
2504 public static void glp_mpl_free_wksp(glp_tran tran) {
2505  GLPKPINVOKE.glp_mpl_free_wksp(glp_tran.getCPtr(tran));
2506  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2507  }
2508 
2509 
2512 public static int glp_read_cnfsat(glp_prob P, string fname) {
2513  int ret = GLPKPINVOKE.glp_read_cnfsat(glp_prob.getCPtr(P), fname);
2514  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2515  return ret;
2516  }
2517 
2518 
2521 public static int glp_check_cnfsat(glp_prob P) {
2522  int ret = GLPKPINVOKE.glp_check_cnfsat(glp_prob.getCPtr(P));
2523  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2524  return ret;
2525  }
2526 
2527 
2530 public static int glp_write_cnfsat(glp_prob P, string fname) {
2531  int ret = GLPKPINVOKE.glp_write_cnfsat(glp_prob.getCPtr(P), fname);
2532  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2533  return ret;
2534  }
2535 
2536 
2539 public static int glp_minisat1(glp_prob P) {
2540  int ret = GLPKPINVOKE.glp_minisat1(glp_prob.getCPtr(P));
2541  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2542  return ret;
2543  }
2544 
2545 
2548 public static int glp_intfeas1(glp_prob P, int use_bound, int obj_bound) {
2549  int ret = GLPKPINVOKE.glp_intfeas1(glp_prob.getCPtr(P), use_bound, obj_bound);
2550  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2551  return ret;
2552  }
2553 
2554 
2565 public static int glp_init_env() {
2566  int ret = GLPKPINVOKE.glp_init_env();
2567  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2568  return ret;
2569  }
2570 
2571 
2579 public static string glp_version() {
2580  string ret = GLPKPINVOKE.glp_version();
2581  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2582  return ret;
2583  }
2584 
2585  public static string glp_config(string option) {
2586  string ret = GLPKPINVOKE.glp_config(option);
2587  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2588  return ret;
2589  }
2590 
2591 
2603 public static int glp_free_env() {
2604  int ret = GLPKPINVOKE.glp_free_env();
2605  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2606  return ret;
2607  }
2608 
2609 
2616 public static void glp_puts(string s) {
2617  GLPKPINVOKE.glp_puts(s);
2618  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2619  }
2620 
2621 
2629 public static void glp_printf(string fmt) {
2630  GLPKPINVOKE.glp_printf(fmt);
2631  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2632  }
2633 
2634 
2642 public static void glp_vprintf(string fmt, SWIGTYPE_p_va_list arg) {
2643  GLPKPINVOKE.glp_vprintf(fmt, SWIGTYPE_p_va_list.getCPtr(arg));
2644  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2645  }
2646 
2647 
2658 public static int glp_term_out(int flag) {
2659  int ret = GLPKPINVOKE.glp_term_out(flag);
2660  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2661  return ret;
2662  }
2663 
2664 
2676  GLPKPINVOKE.glp_term_hook(SWIGTYPE_p_f_p_void_p_q_const__char__int.getCPtr(func), SWIGTYPE_p_void.getCPtr(info));
2677  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2678  }
2679 
2680 
2690 public static int glp_open_tee(string name) {
2691  int ret = GLPKPINVOKE.glp_open_tee(name);
2692  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2693  return ret;
2694  }
2695 
2696 
2706 public static int glp_close_tee() {
2707  int ret = GLPKPINVOKE.glp_close_tee();
2708  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2709  return ret;
2710  }
2711 
2712 
2715 public static SWIGTYPE_p_f_p_q_const__char_v_______void glp_error_(string file, int line) {
2716  global::System.IntPtr cPtr = GLPKPINVOKE.glp_error_(file, line);
2717  SWIGTYPE_p_f_p_q_const__char_v_______void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_v_______void(cPtr, false);
2718  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2719  return ret;
2720  }
2721 
2722 
2732 public static int glp_at_error() {
2733  int ret = GLPKPINVOKE.glp_at_error();
2734  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2735  return ret;
2736  }
2737 
2738 
2746 public static void glp_assert_(string expr, string file, int line) {
2747  GLPKPINVOKE.glp_assert_(expr, file, line);
2748  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2749  }
2750 
2751 
2762  GLPKPINVOKE.glp_error_hook(SWIGTYPE_p_f_p_void__void.getCPtr(func), SWIGTYPE_p_void.getCPtr(info));
2763  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2764  }
2765 
2766 
2777 public static SWIGTYPE_p_void glp_alloc(int n, int size) {
2778  global::System.IntPtr cPtr = GLPKPINVOKE.glp_alloc(n, size);
2779  SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
2780  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2781  return ret;
2782  }
2783 
2784 
2787 public static SWIGTYPE_p_void glp_realloc(SWIGTYPE_p_void ptr, int n, int size) {
2788  global::System.IntPtr cPtr = GLPKPINVOKE.glp_realloc(SWIGTYPE_p_void.getCPtr(ptr), n, size);
2789  SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
2790  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2791  return ret;
2792  }
2793 
2794 
2802 public static void glp_free(SWIGTYPE_p_void ptr) {
2803  GLPKPINVOKE.glp_free(SWIGTYPE_p_void.getCPtr(ptr));
2804  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2805  }
2806 
2807 
2815 public static void glp_mem_limit(int limit) {
2816  GLPKPINVOKE.glp_mem_limit(limit);
2817  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2818  }
2819 
2820 
2832 public static void glp_mem_usage(SWIGTYPE_p_int count, SWIGTYPE_p_int cpeak, SWIGTYPE_p_size_t total, SWIGTYPE_p_size_t tpeak) {
2833  GLPKPINVOKE.glp_mem_usage(SWIGTYPE_p_int.getCPtr(count), SWIGTYPE_p_int.getCPtr(cpeak), SWIGTYPE_p_size_t.getCPtr(total), SWIGTYPE_p_size_t.getCPtr(tpeak));
2834  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2835  }
2836 
2837 
2840 public static double glp_time() {
2841  double ret = GLPKPINVOKE.glp_time();
2842  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2843  return ret;
2844  }
2845 
2846 
2854 public static double glp_difftime(double t1, double t0) {
2855  double ret = GLPKPINVOKE.glp_difftime(t1, t0);
2856  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2857  return ret;
2858  }
2859 
2860 
2863 public static glp_graph glp_create_graph(int v_size, int a_size) {
2864  global::System.IntPtr cPtr = GLPKPINVOKE.glp_create_graph(v_size, a_size);
2865  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2866  return (cPtr == global::System.IntPtr.Zero) ? null : new glp_graph(cPtr, false);
2867  }
2868 
2869 
2878 public static void glp_set_graph_name(glp_graph G, string name) {
2879  GLPKPINVOKE.glp_set_graph_name(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), name);
2880  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2881  }
2882 
2883 
2894 public static int glp_add_vertices(glp_graph G, int nadd) {
2895  int ret = GLPKPINVOKE.glp_add_vertices(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), nadd);
2896  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2897  return ret;
2898  }
2899 
2900 
2903 public static void glp_set_vertex_name(glp_graph G, int i, string name) {
2904  GLPKPINVOKE.glp_set_vertex_name(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), i, name);
2905  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2906  }
2907 
2908 
2919 public static glp_arc glp_add_arc(glp_graph G, int i, int j) {
2920  global::System.IntPtr cPtr = GLPKPINVOKE.glp_add_arc(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), i, j);
2921  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2922  return (cPtr == global::System.IntPtr.Zero) ? null : new glp_arc(cPtr, false);
2923  }
2924 
2925 
2934 public static void glp_del_vertices(glp_graph G, int ndel, SWIGTYPE_p_int num) {
2935  GLPKPINVOKE.glp_del_vertices(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), ndel, SWIGTYPE_p_int.getCPtr(num));
2936  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2937  }
2938 
2939 
2947 public static void glp_del_arc(glp_graph G, glp_arc a) {
2948  GLPKPINVOKE.glp_del_arc(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_arc.getCPtr(a)));
2949  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2950  }
2951 
2952 
2955 public static void glp_erase_graph(glp_graph G, int v_size, int a_size) {
2956  GLPKPINVOKE.glp_erase_graph(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_size, a_size);
2957  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2958  }
2959 
2960 
2968 public static void glp_delete_graph(glp_graph G) {
2969  GLPKPINVOKE.glp_delete_graph(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)));
2970  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2971  }
2972 
2973 
2976 public static void glp_create_v_index(glp_graph G) {
2977  GLPKPINVOKE.glp_create_v_index(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)));
2978  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2979  }
2980 
2981 
2984 public static int glp_find_vertex(glp_graph G, string name) {
2985  int ret = GLPKPINVOKE.glp_find_vertex(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), name);
2986  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2987  return ret;
2988  }
2989 
2990 
2993 public static void glp_delete_v_index(glp_graph G) {
2994  GLPKPINVOKE.glp_delete_v_index(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)));
2995  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
2996  }
2997 
2998 
3008 public static int glp_read_graph(glp_graph G, string fname) {
3009  int ret = GLPKPINVOKE.glp_read_graph(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), fname);
3010  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3011  return ret;
3012  }
3013 
3014 
3024 public static int glp_write_graph(glp_graph G, string fname) {
3025  int ret = GLPKPINVOKE.glp_write_graph(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), fname);
3026  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3027  return ret;
3028  }
3029 
3030 
3038 public static void glp_mincost_lp(glp_prob P, glp_graph G, int names, int v_rhs, int a_low, int a_cap, int a_cost) {
3039  GLPKPINVOKE.glp_mincost_lp(glp_prob.getCPtr(P), global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), names, v_rhs, a_low, a_cap, a_cost);
3040  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3041  }
3042 
3043 
3046 public static int glp_mincost_okalg(glp_graph G, int v_rhs, int a_low, int a_cap, int a_cost, SWIGTYPE_p_double sol, int a_x, int v_pi) {
3047  int ret = GLPKPINVOKE.glp_mincost_okalg(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_rhs, a_low, a_cap, a_cost, SWIGTYPE_p_double.getCPtr(sol), a_x, v_pi);
3048  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3049  return ret;
3050  }
3051 
3052 
3055 public static int glp_mincost_relax4(glp_graph G, int v_rhs, int a_low, int a_cap, int a_cost, int crash, SWIGTYPE_p_double sol, int a_x, int a_rc) {
3056  int ret = GLPKPINVOKE.glp_mincost_relax4(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_rhs, a_low, a_cap, a_cost, crash, SWIGTYPE_p_double.getCPtr(sol), a_x, a_rc);
3057  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3058  return ret;
3059  }
3060 
3061 
3069 public static void glp_maxflow_lp(glp_prob P, glp_graph G, int names, int s, int t, int a_cap) {
3070  GLPKPINVOKE.glp_maxflow_lp(glp_prob.getCPtr(P), global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), names, s, t, a_cap);
3071  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3072  }
3073 
3074 
3077 public static int glp_maxflow_ffalg(glp_graph G, int s, int t, int a_cap, SWIGTYPE_p_double sol, int a_x, int v_cut) {
3078  int ret = GLPKPINVOKE.glp_maxflow_ffalg(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), s, t, a_cap, SWIGTYPE_p_double.getCPtr(sol), a_x, v_cut);
3079  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3080  return ret;
3081  }
3082 
3083 
3091 public static int glp_check_asnprob(glp_graph G, int v_set) {
3092  int ret = GLPKPINVOKE.glp_check_asnprob(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_set);
3093  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3094  return ret;
3095  }
3096 
3097 
3107 public static int glp_asnprob_lp(glp_prob P, int form, glp_graph G, int names, int v_set, int a_cost) {
3108  int ret = GLPKPINVOKE.glp_asnprob_lp(glp_prob.getCPtr(P), form, global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), names, v_set, a_cost);
3109  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3110  return ret;
3111  }
3112 
3113 
3116 public static int glp_asnprob_okalg(int form, glp_graph G, int v_set, int a_cost, SWIGTYPE_p_double sol, int a_x) {
3117  int ret = GLPKPINVOKE.glp_asnprob_okalg(form, global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_set, a_cost, SWIGTYPE_p_double.getCPtr(sol), a_x);
3118  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3119  return ret;
3120  }
3121 
3122 
3136 public static int glp_asnprob_hall(glp_graph G, int v_set, int a_x) {
3137  int ret = GLPKPINVOKE.glp_asnprob_hall(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_set, a_x);
3138  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3139  return ret;
3140  }
3141 
3142 
3145 public static double glp_cpp(glp_graph G, int v_t, int v_es, int v_ls) {
3146  double ret = GLPKPINVOKE.glp_cpp(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_t, v_es, v_ls);
3147  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3148  return ret;
3149  }
3150 
3151 
3161 public static int glp_read_mincost(glp_graph G, int v_rhs, int a_low, int a_cap, int a_cost, string fname) {
3162  int ret = GLPKPINVOKE.glp_read_mincost(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_rhs, a_low, a_cap, a_cost, fname);
3163  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3164  return ret;
3165  }
3166 
3167 
3177 public static int glp_write_mincost(glp_graph G, int v_rhs, int a_low, int a_cap, int a_cost, string fname) {
3178  int ret = GLPKPINVOKE.glp_write_mincost(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_rhs, a_low, a_cap, a_cost, fname);
3179  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3180  return ret;
3181  }
3182 
3183 
3193 public static int glp_read_maxflow(glp_graph G, SWIGTYPE_p_int s, SWIGTYPE_p_int t, int a_cap, string fname) {
3194  int ret = GLPKPINVOKE.glp_read_maxflow(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), SWIGTYPE_p_int.getCPtr(s), SWIGTYPE_p_int.getCPtr(t), a_cap, fname);
3195  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3196  return ret;
3197  }
3198 
3199 
3209 public static int glp_write_maxflow(glp_graph G, int s, int t, int a_cap, string fname) {
3210  int ret = GLPKPINVOKE.glp_write_maxflow(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), s, t, a_cap, fname);
3211  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3212  return ret;
3213  }
3214 
3215 
3225 public static int glp_read_asnprob(glp_graph G, int v_set, int a_cost, string fname) {
3226  int ret = GLPKPINVOKE.glp_read_asnprob(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_set, a_cost, fname);
3227  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3228  return ret;
3229  }
3230 
3231 
3241 public static int glp_write_asnprob(glp_graph G, int v_set, int a_cost, string fname) {
3242  int ret = GLPKPINVOKE.glp_write_asnprob(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_set, a_cost, fname);
3243  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3244  return ret;
3245  }
3246 
3247 
3257 public static int glp_read_ccdata(glp_graph G, int v_wgt, string fname) {
3258  int ret = GLPKPINVOKE.glp_read_ccdata(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_wgt, fname);
3259  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3260  return ret;
3261  }
3262 
3263 
3273 public static int glp_write_ccdata(glp_graph G, int v_wgt, string fname) {
3274  int ret = GLPKPINVOKE.glp_write_ccdata(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_wgt, fname);
3275  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3276  return ret;
3277  }
3278 
3279 
3282 public static int glp_netgen(glp_graph G, int v_rhs, int a_cap, int a_cost, SWIGTYPE_p_int parm) {
3283  int ret = GLPKPINVOKE.glp_netgen(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_rhs, a_cap, a_cost, SWIGTYPE_p_int.getCPtr(parm));
3284  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3285  return ret;
3286  }
3287 
3288 
3291 public static void glp_netgen_prob(int nprob, SWIGTYPE_p_int parm) {
3292  GLPKPINVOKE.glp_netgen_prob(nprob, SWIGTYPE_p_int.getCPtr(parm));
3293  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3294  }
3295 
3296 
3299 public static int glp_gridgen(glp_graph G, int v_rhs, int a_cap, int a_cost, SWIGTYPE_p_int parm) {
3300  int ret = GLPKPINVOKE.glp_gridgen(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_rhs, a_cap, a_cost, SWIGTYPE_p_int.getCPtr(parm));
3301  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3302  return ret;
3303  }
3304 
3305 
3308 public static int glp_rmfgen(glp_graph G, SWIGTYPE_p_int s, SWIGTYPE_p_int t, int a_cap, SWIGTYPE_p_int parm) {
3309  int ret = GLPKPINVOKE.glp_rmfgen(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), SWIGTYPE_p_int.getCPtr(s), SWIGTYPE_p_int.getCPtr(t), a_cap, SWIGTYPE_p_int.getCPtr(parm));
3310  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3311  return ret;
3312  }
3313 
3314 
3326 public static int glp_weak_comp(glp_graph G, int v_num) {
3327  int ret = GLPKPINVOKE.glp_weak_comp(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_num);
3328  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3329  return ret;
3330  }
3331 
3332 
3344 public static int glp_strong_comp(glp_graph G, int v_num) {
3345  int ret = GLPKPINVOKE.glp_strong_comp(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_num);
3346  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3347  return ret;
3348  }
3349 
3350 
3353 public static int glp_top_sort(glp_graph G, int v_num) {
3354  int ret = GLPKPINVOKE.glp_top_sort(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_num);
3355  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3356  return ret;
3357  }
3358 
3359 
3362 public static int glp_wclique_exact(glp_graph G, int v_wgt, SWIGTYPE_p_double sol, int v_set) {
3363  int ret = GLPKPINVOKE.glp_wclique_exact(global::System.Runtime.InteropServices.HandleRef.ToIntPtr(glp_graph.getCPtr(G)), v_wgt, SWIGTYPE_p_double.getCPtr(sol), v_set);
3364  if (GLPKPINVOKE.SWIGPendingException.Pending) throw GLPKPINVOKE.SWIGPendingException.Retrieve();
3365  return ret;
3366  }
3367 
3368  public static readonly int GLP_CLI_A_CAP = GLPKPINVOKE.GLP_CLI_A_CAP_get();
3369  public static readonly int GLP_CLI_A_COST = GLPKPINVOKE.GLP_CLI_A_COST_get();
3370  public static readonly int GLP_CLI_A_LOW = GLPKPINVOKE.GLP_CLI_A_LOW_get();
3371  public static readonly int GLP_CLI_A_RC = GLPKPINVOKE.GLP_CLI_A_RC_get();
3372  public static readonly int GLP_CLI_A_X = GLPKPINVOKE.GLP_CLI_A_X_get();
3373  public static readonly int GLP_CLI_A_SIZE = GLPKPINVOKE.GLP_CLI_A_SIZE_get();
3374  public static readonly int GLP_CLI_V_CUT = GLPKPINVOKE.GLP_CLI_V_CUT_get();
3375  public static readonly int GLP_CLI_V_PI = GLPKPINVOKE.GLP_CLI_V_PI_get();
3376  public static readonly int GLP_CLI_V_RHS = GLPKPINVOKE.GLP_CLI_V_RHS_get();
3377  public static readonly int GLP_CLI_V_SET = GLPKPINVOKE.GLP_CLI_V_SET_get();
3378  public static readonly int GLP_CLI_V_SIZE = GLPKPINVOKE.GLP_CLI_V_SIZE_get();
3379  public static readonly int GLP_CLI_MSG_LVL_OFF = GLPKPINVOKE.GLP_CLI_MSG_LVL_OFF_get();
3380  public static readonly int GLP_CLI_MSG_LVL_ALL = GLPKPINVOKE.GLP_CLI_MSG_LVL_ALL_get();
3381  public static readonly int GLP_MAJOR_VERSION = GLPKPINVOKE.GLP_MAJOR_VERSION_get();
3382  public static readonly int GLP_MINOR_VERSION = GLPKPINVOKE.GLP_MINOR_VERSION_get();
3383  public static readonly int GLP_MIN = GLPKPINVOKE.GLP_MIN_get();
3384  public static readonly int GLP_MAX = GLPKPINVOKE.GLP_MAX_get();
3385  public static readonly int GLP_CV = GLPKPINVOKE.GLP_CV_get();
3386  public static readonly int GLP_IV = GLPKPINVOKE.GLP_IV_get();
3387  public static readonly int GLP_BV = GLPKPINVOKE.GLP_BV_get();
3388  public static readonly int GLP_FR = GLPKPINVOKE.GLP_FR_get();
3389  public static readonly int GLP_LO = GLPKPINVOKE.GLP_LO_get();
3390  public static readonly int GLP_UP = GLPKPINVOKE.GLP_UP_get();
3391  public static readonly int GLP_DB = GLPKPINVOKE.GLP_DB_get();
3392  public static readonly int GLP_FX = GLPKPINVOKE.GLP_FX_get();
3393  public static readonly int GLP_BS = GLPKPINVOKE.GLP_BS_get();
3394  public static readonly int GLP_NL = GLPKPINVOKE.GLP_NL_get();
3395  public static readonly int GLP_NU = GLPKPINVOKE.GLP_NU_get();
3396  public static readonly int GLP_NF = GLPKPINVOKE.GLP_NF_get();
3397  public static readonly int GLP_NS = GLPKPINVOKE.GLP_NS_get();
3398  public static readonly int GLP_SF_GM = GLPKPINVOKE.GLP_SF_GM_get();
3399  public static readonly int GLP_SF_EQ = GLPKPINVOKE.GLP_SF_EQ_get();
3400  public static readonly int GLP_SF_2N = GLPKPINVOKE.GLP_SF_2N_get();
3401  public static readonly int GLP_SF_SKIP = GLPKPINVOKE.GLP_SF_SKIP_get();
3402  public static readonly int GLP_SF_AUTO = GLPKPINVOKE.GLP_SF_AUTO_get();
3403  public static readonly int GLP_SOL = GLPKPINVOKE.GLP_SOL_get();
3404  public static readonly int GLP_IPT = GLPKPINVOKE.GLP_IPT_get();
3405  public static readonly int GLP_MIP = GLPKPINVOKE.GLP_MIP_get();
3406  public static readonly int GLP_UNDEF = GLPKPINVOKE.GLP_UNDEF_get();
3407  public static readonly int GLP_FEAS = GLPKPINVOKE.GLP_FEAS_get();
3408  public static readonly int GLP_INFEAS = GLPKPINVOKE.GLP_INFEAS_get();
3409  public static readonly int GLP_NOFEAS = GLPKPINVOKE.GLP_NOFEAS_get();
3410  public static readonly int GLP_OPT = GLPKPINVOKE.GLP_OPT_get();
3411  public static readonly int GLP_UNBND = GLPKPINVOKE.GLP_UNBND_get();
3412  public static readonly int GLP_BF_LUF = GLPKPINVOKE.GLP_BF_LUF_get();
3413  public static readonly int GLP_BF_BTF = GLPKPINVOKE.GLP_BF_BTF_get();
3414  public static readonly int GLP_BF_FT = GLPKPINVOKE.GLP_BF_FT_get();
3415  public static readonly int GLP_BF_BG = GLPKPINVOKE.GLP_BF_BG_get();
3416  public static readonly int GLP_BF_GR = GLPKPINVOKE.GLP_BF_GR_get();
3417  public static readonly int GLP_MSG_OFF = GLPKPINVOKE.GLP_MSG_OFF_get();
3418  public static readonly int GLP_MSG_ERR = GLPKPINVOKE.GLP_MSG_ERR_get();
3419  public static readonly int GLP_MSG_ON = GLPKPINVOKE.GLP_MSG_ON_get();
3420  public static readonly int GLP_MSG_ALL = GLPKPINVOKE.GLP_MSG_ALL_get();
3421  public static readonly int GLP_MSG_DBG = GLPKPINVOKE.GLP_MSG_DBG_get();
3422  public static readonly int GLP_PRIMAL = GLPKPINVOKE.GLP_PRIMAL_get();
3423  public static readonly int GLP_DUALP = GLPKPINVOKE.GLP_DUALP_get();
3424  public static readonly int GLP_DUAL = GLPKPINVOKE.GLP_DUAL_get();
3425  public static readonly int GLP_PT_STD = GLPKPINVOKE.GLP_PT_STD_get();
3426  public static readonly int GLP_PT_PSE = GLPKPINVOKE.GLP_PT_PSE_get();
3427  public static readonly int GLP_RT_STD = GLPKPINVOKE.GLP_RT_STD_get();
3428  public static readonly int GLP_RT_HAR = GLPKPINVOKE.GLP_RT_HAR_get();
3429  public static readonly int GLP_RT_FLIP = GLPKPINVOKE.GLP_RT_FLIP_get();
3430  public static readonly int GLP_USE_AT = GLPKPINVOKE.GLP_USE_AT_get();
3431  public static readonly int GLP_USE_NT = GLPKPINVOKE.GLP_USE_NT_get();
3432  public static readonly int GLP_ORD_NONE = GLPKPINVOKE.GLP_ORD_NONE_get();
3433  public static readonly int GLP_ORD_QMD = GLPKPINVOKE.GLP_ORD_QMD_get();
3434  public static readonly int GLP_ORD_AMD = GLPKPINVOKE.GLP_ORD_AMD_get();
3435  public static readonly int GLP_ORD_SYMAMD = GLPKPINVOKE.GLP_ORD_SYMAMD_get();
3436  public static readonly int GLP_BR_FFV = GLPKPINVOKE.GLP_BR_FFV_get();
3437  public static readonly int GLP_BR_LFV = GLPKPINVOKE.GLP_BR_LFV_get();
3438  public static readonly int GLP_BR_MFV = GLPKPINVOKE.GLP_BR_MFV_get();
3439  public static readonly int GLP_BR_DTH = GLPKPINVOKE.GLP_BR_DTH_get();
3440  public static readonly int GLP_BR_PCH = GLPKPINVOKE.GLP_BR_PCH_get();
3441  public static readonly int GLP_BT_DFS = GLPKPINVOKE.GLP_BT_DFS_get();
3442  public static readonly int GLP_BT_BFS = GLPKPINVOKE.GLP_BT_BFS_get();
3443  public static readonly int GLP_BT_BLB = GLPKPINVOKE.GLP_BT_BLB_get();
3444  public static readonly int GLP_BT_BPH = GLPKPINVOKE.GLP_BT_BPH_get();
3445  public static readonly int GLP_PP_NONE = GLPKPINVOKE.GLP_PP_NONE_get();
3446  public static readonly int GLP_PP_ROOT = GLPKPINVOKE.GLP_PP_ROOT_get();
3447  public static readonly int GLP_PP_ALL = GLPKPINVOKE.GLP_PP_ALL_get();
3448  public static readonly int GLP_RF_REG = GLPKPINVOKE.GLP_RF_REG_get();
3449  public static readonly int GLP_RF_LAZY = GLPKPINVOKE.GLP_RF_LAZY_get();
3450  public static readonly int GLP_RF_CUT = GLPKPINVOKE.GLP_RF_CUT_get();
3451  public static readonly int GLP_RF_GMI = GLPKPINVOKE.GLP_RF_GMI_get();
3452  public static readonly int GLP_RF_MIR = GLPKPINVOKE.GLP_RF_MIR_get();
3453  public static readonly int GLP_RF_COV = GLPKPINVOKE.GLP_RF_COV_get();
3454  public static readonly int GLP_RF_CLQ = GLPKPINVOKE.GLP_RF_CLQ_get();
3455  public static readonly int GLP_ON = GLPKPINVOKE.GLP_ON_get();
3456  public static readonly int GLP_OFF = GLPKPINVOKE.GLP_OFF_get();
3457  public static readonly int GLP_IROWGEN = GLPKPINVOKE.GLP_IROWGEN_get();
3458  public static readonly int GLP_IBINGO = GLPKPINVOKE.GLP_IBINGO_get();
3459  public static readonly int GLP_IHEUR = GLPKPINVOKE.GLP_IHEUR_get();
3460  public static readonly int GLP_ICUTGEN = GLPKPINVOKE.GLP_ICUTGEN_get();
3461  public static readonly int GLP_IBRANCH = GLPKPINVOKE.GLP_IBRANCH_get();
3462  public static readonly int GLP_ISELECT = GLPKPINVOKE.GLP_ISELECT_get();
3463  public static readonly int GLP_IPREPRO = GLPKPINVOKE.GLP_IPREPRO_get();
3464  public static readonly int GLP_NO_BRNCH = GLPKPINVOKE.GLP_NO_BRNCH_get();
3465  public static readonly int GLP_DN_BRNCH = GLPKPINVOKE.GLP_DN_BRNCH_get();
3466  public static readonly int GLP_UP_BRNCH = GLPKPINVOKE.GLP_UP_BRNCH_get();
3467  public static readonly int GLP_EBADB = GLPKPINVOKE.GLP_EBADB_get();
3468  public static readonly int GLP_ESING = GLPKPINVOKE.GLP_ESING_get();
3469  public static readonly int GLP_ECOND = GLPKPINVOKE.GLP_ECOND_get();
3470  public static readonly int GLP_EBOUND = GLPKPINVOKE.GLP_EBOUND_get();
3471  public static readonly int GLP_EFAIL = GLPKPINVOKE.GLP_EFAIL_get();
3472  public static readonly int GLP_EOBJLL = GLPKPINVOKE.GLP_EOBJLL_get();
3473  public static readonly int GLP_EOBJUL = GLPKPINVOKE.GLP_EOBJUL_get();
3474  public static readonly int GLP_EITLIM = GLPKPINVOKE.GLP_EITLIM_get();
3475  public static readonly int GLP_ETMLIM = GLPKPINVOKE.GLP_ETMLIM_get();
3476  public static readonly int GLP_ENOPFS = GLPKPINVOKE.GLP_ENOPFS_get();
3477  public static readonly int GLP_ENODFS = GLPKPINVOKE.GLP_ENODFS_get();
3478  public static readonly int GLP_EROOT = GLPKPINVOKE.GLP_EROOT_get();
3479  public static readonly int GLP_ESTOP = GLPKPINVOKE.GLP_ESTOP_get();
3480  public static readonly int GLP_EMIPGAP = GLPKPINVOKE.GLP_EMIPGAP_get();
3481  public static readonly int GLP_ENOFEAS = GLPKPINVOKE.GLP_ENOFEAS_get();
3482  public static readonly int GLP_ENOCVG = GLPKPINVOKE.GLP_ENOCVG_get();
3483  public static readonly int GLP_EINSTAB = GLPKPINVOKE.GLP_EINSTAB_get();
3484  public static readonly int GLP_EDATA = GLPKPINVOKE.GLP_EDATA_get();
3485  public static readonly int GLP_ERANGE = GLPKPINVOKE.GLP_ERANGE_get();
3486  public static readonly int GLP_KKT_PE = GLPKPINVOKE.GLP_KKT_PE_get();
3487  public static readonly int GLP_KKT_PB = GLPKPINVOKE.GLP_KKT_PB_get();
3488  public static readonly int GLP_KKT_DE = GLPKPINVOKE.GLP_KKT_DE_get();
3489  public static readonly int GLP_KKT_DB = GLPKPINVOKE.GLP_KKT_DB_get();
3490  public static readonly int GLP_KKT_CS = GLPKPINVOKE.GLP_KKT_CS_get();
3491  public static readonly int GLP_MPS_DECK = GLPKPINVOKE.GLP_MPS_DECK_get();
3492  public static readonly int GLP_MPS_FILE = GLPKPINVOKE.GLP_MPS_FILE_get();
3493  public static readonly int GLP_ASN_MIN = GLPKPINVOKE.GLP_ASN_MIN_get();
3494  public static readonly int GLP_ASN_MAX = GLPKPINVOKE.GLP_ASN_MAX_get();
3495  public static readonly int GLP_ASN_MMP = GLPKPINVOKE.GLP_ASN_MMP_get();
3496 }
3497 
3498 }
static void glp_set_obj_name(glp_prob P, string name)
glp_set_obj_name - assign (change) objective function name .
Definition: GLPK.cs:256
static int glp_ios_up_node(glp_tree T, int p)
glp_ios_up_node - determine parent subproblem .
Definition: GLPK.cs:2138
static void glp_del_vertices(glp_graph G, int ndel, SWIGTYPE_p_int num)
glp_del_vertices - delete vertices from graph .
Definition: GLPK.cs:2934
static void glp_del_rows(glp_prob P, int nrs, SWIGTYPE_p_int num)
glp_del_rows - delete rows from problem object .
Definition: GLPK.cs:480
static int glp_get_obj_dir(glp_prob P)
glp_get_obj_dir - retrieve optimization direction flag .
Definition: GLPK.cs:566
static double glp_mip_col_val(glp_prob P, int j)
glp_mip_col_val - retrieve column value (MIP solution) .
Definition: GLPK.cs:1434
static void glp_init_mpscp(glp_mpscp parm)
glp_init_mpscp - initialize MPS format control parameters .
Definition: GLPK.cs:2358
static int glp_read_maxflow(glp_graph G, SWIGTYPE_p_int s, SWIGTYPE_p_int t, int a_cap, string fname)
glp_read_maxflow - read maximum flow problem data in DIMACS format .
Definition: GLPK.cs:3193
static void glp_puts(string s)
glp_puts - write string on terminal .
Definition: GLPK.cs:2616
static int glp_transform_row(glp_prob P, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val)
glp_transform_row - transform explicitly specified row .
Definition: GLPK.cs:1872
static glp_vertex glp_cli_vertex_get(glp_graph G, int i)
Get vertex.
Definition: GLPK.cs:217
static void intArray_setitem(SWIGTYPE_p_int ary, int index, int value)
Sets the value of an element of an array of int.
Definition: GLPK.cs:129
static void glp_delete_graph(glp_graph G)
glp_delete_graph - delete graph .
Definition: GLPK.cs:2968
static void glp_set_col_bnds(glp_prob P, int j, int type, double lb, double ub)
glp_set_col_bnds - set (change) column bounds .
Definition: GLPK.cs:370
static void glp_create_index(glp_prob P)
glp_create_index - create the name index .
Definition: GLPK.cs:787
static int glp_bf_exists(glp_prob P)
glp_bf_exists - check if the basis factorization exists .
Definition: GLPK.cs:1603
static int glp_term_out(int flag)
glp_term_out - enable/disable terminal output .
Definition: GLPK.cs:2658
static double glp_ipt_row_prim(glp_prob P, int i)
glp_ipt_row_prim - retrieve row primal value (interior point) .
Definition: GLPK.cs:1255
static int glp_get_mat_row(glp_prob P, int i, SWIGTYPE_p_int ind, SWIGTYPE_p_double val)
glp_get_mat_row - retrieve row of the constraint matrix .
Definition: GLPK.cs:755
static void glp_printf(string fmt)
glp_printf - write formatted output on terminal .
Definition: GLPK.cs:2629
static int glp_dual_rtest(glp_prob P, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val, int dir, double eps)
glp_dual_rtest - perform dual ratio test .
Definition: GLPK.cs:1950
static int glp_check_dup(int m, int n, int ne, SWIGTYPE_p_int ia, SWIGTYPE_p_int ja)
glp_check_dup - check for duplicate elements in sparse matrix .
Definition: GLPK.cs:452
static int glp_prim_rtest(glp_prob P, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val, int dir, double eps)
glp_prim_rtest - perform primal ratio test .
Definition: GLPK.cs:1925
static double glp_get_sjj(glp_prob P, int j)
glp_get_sjj - retrieve column scale factor .
Definition: GLPK.cs:882
static double glp_get_obj_val(glp_prob P)
glp_get_obj_val - retrieve objective value (basic solution) .
Definition: GLPK.cs:1070
static void glp_vprintf(string fmt, SWIGTYPE_p_va_list arg)
glp_vprintf - write formatted output on terminal .
Definition: GLPK.cs:2642
static void glp_ios_select_node(glp_tree T, int p)
glp_ios_select_node - select subproblem to continue the search .
Definition: GLPK.cs:2313
static int glp_read_sol(glp_prob P, string fname)
glp_read_sol - read basic solution from text file .
Definition: GLPK.cs:1468
static int glp_write_prob(glp_prob P, int flags, string fname)
glp_write_prob - write problem data in GLPK format .
Definition: GLPK.cs:2436
static void glp_init_cpxcp(glp_cpxcp parm)
glp_init_cpxcp - initialize CPLEX LP format control parameters .
Definition: GLPK.cs:2389
static void glp_set_obj_dir(glp_prob P, int dir)
glp_set_obj_dir - set (change) optimization direction flag .
Definition: GLPK.cs:270
static int glp_get_bhead(glp_prob P, int k)
glp_get_bhead - retrieve the basis header information .
Definition: GLPK.cs:1671
static void glp_load_matrix(glp_prob P, int ne, SWIGTYPE_p_int ia, SWIGTYPE_p_int ja, SWIGTYPE_p_double ar)
glp_load_matrix - load (replace) the whole constraint matrix .
Definition: GLPK.cs:430
static void glp_ios_terminate(glp_tree T)
glp_ios_terminate - terminate the solution process.
Definition: GLPK.cs:2344
static int glp_read_ipt(glp_prob P, string fname)
glp_read_ipt - read interior-point solution from text file .
Definition: GLPK.cs:1523
static string glp_get_obj_name(glp_prob P)
glp_get_obj_name - retrieve objective function name .
Definition: GLPK.cs:551
static int glp_add_rows(glp_prob P, int nrs)
glp_add_rows - add new rows to problem object .
Definition: GLPK.cs:286
static void glp_set_sjj(glp_prob P, int j, double sjj)
glp_set sjj - set (change) column scale factor .
Definition: GLPK.cs:855
static int intArray_getitem(SWIGTYPE_p_int ary, int index)
Retrieves an element of an array of int.
Definition: GLPK.cs:114
static void glp_set_rii(glp_prob P, int i, double rii)
glp_set_rii - set (change) row scale factor .
Definition: GLPK.cs:842
static void glp_analyze_bound(glp_prob P, int k, SWIGTYPE_p_double value1, SWIGTYPE_p_int var1, SWIGTYPE_p_double value2, SWIGTYPE_p_int var2)
glp_analyze_bound - analyze active bound of non-basic variable .
Definition: GLPK.cs:1971
static void glp_unscale_prob(glp_prob P)
glp_unscale_prob - unscale problem data .
Definition: GLPK.cs:913
static void glp_mincost_lp(glp_prob P, glp_graph G, int names, int v_rhs, int a_low, int a_cap, int a_cost)
glp_mincost_lp - convert minimum cost flow problem to LP .
Definition: GLPK.cs:3038
static void glp_set_col_name(glp_prob P, int j, string name)
glp_set_col_name - assign (change) column name .
Definition: GLPK.cs:332
static double glp_get_col_ub(glp_prob P, int j)
glp_get_col_ub - retrieve column upper bound .
Definition: GLPK.cs:708
static glp_cli_vertex_data glp_cli_vertex_data_get(glp_graph G, int i)
Get vertex data.
Definition: GLPK.cs:188
static int glp_eval_tab_row(glp_prob P, int k, SWIGTYPE_p_int ind, SWIGTYPE_p_double val)
glp_eval_tab_row - compute row of the simplex tableau .
Definition: GLPK.cs:1807
static glp_cli_vertex_data glp_cli_vertex_get_data(glp_vertex v)
Get vertex data.
Definition: GLPK.cs:202
static int glp_read_asnprob(glp_graph G, int v_set, int a_cost, string fname)
glp_read_asnprob - read assignment problem data in DIMACS format .
Definition: GLPK.cs:3225
static void glp_init_iocp(glp_iocp parm)
glp_init_iocp - initialize integer optimizer control parameters .
Definition: GLPK.cs:1378
static int glp_write_maxflow(glp_graph G, int s, int t, int a_cap, string fname)
glp_write_maxflow - write maximum flow problem data in DIMACS format .
Definition: GLPK.cs:3209
static void glp_get_bfcp(glp_prob P, glp_bfcp parm)
glp_get_bfcp - retrieve basis factorization control parameters .
Definition: GLPK.cs:1641
static void glp_del_arc(glp_graph G, glp_arc a)
glp_del_arc - delete arc from graph .
Definition: GLPK.cs:2947
static double glp_ipt_row_dual(glp_prob P, int i)
glp_ipt_row_dual - retrieve row dual value (interior point) .
Definition: GLPK.cs:1269
static int glp_get_num_nz(glp_prob P)
glp_get_num_nz - retrieve number of constraint coefficients .
Definition: GLPK.cs:738
static void glp_cli_set_msg_lvl(int msg_lvl)
Sets the message level.
Definition: GLPK.cs:156
static string glp_get_prob_name(glp_prob P)
glp_get_prob_name - retrieve problem name .
Definition: GLPK.cs:537
static void glp_copy_prob(glp_prob dest, glp_prob prob, int names)
glp_copy_prob - copy problem object content .
Definition: GLPK.cs:508
static void glp_set_row_name(glp_prob P, int i, string name)
glp_set_row_name - assign (change) row name .
Definition: GLPK.cs:318
static void glp_set_prob_name(glp_prob P, string name)
glp_set_prob_name - assign (change) problem name .
Definition: GLPK.cs:242
static int glp_ios_can_branch(glp_tree T, int j)
glp_ios_can_branch - check if can branch upon specified variable .
Definition: GLPK.cs:2284
static int glp_read_mincost(glp_graph G, int v_rhs, int a_low, int a_cap, int a_cost, string fname)
glp_read_mincost - read min-cost flow problem data in DIMACS format .
Definition: GLPK.cs:3161
static int glp_transform_col(glp_prob P, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val)
glp_transform_col - transform explicitly specified column .
Definition: GLPK.cs:1900
static int glp_strong_comp(glp_graph G, int v_num)
glp_strong_comp - find all strongly connected components of graph .
Definition: GLPK.cs:3344
static double glp_get_row_ub(glp_prob P, int i)
glp_get_row_ub - retrieve row upper bound .
Definition: GLPK.cs:665
static int glp_ipt_status(glp_prob P)
glp_ipt_status - retrieve status of interior-point solution .
Definition: GLPK.cs:1227
static int glp_at_error()
glp_at_error - check for error state .
Definition: GLPK.cs:2732
static int glp_get_col_stat(glp_prob P, int j)
glp_get_col_stat - retrieve column status .
Definition: GLPK.cs:1128
static int glp_get_num_rows(glp_prob P)
glp_get_num_rows - retrieve number of rows .
Definition: GLPK.cs:580
static void glp_cpx_basis(glp_prob P)
glp_cpx_basis - construct Bixby&#39;s initial LP basis .
Definition: GLPK.cs:980
static void glp_set_obj_coef(glp_prob P, int j, double coef)
glp_set_obj_coef - set (change) obj.
Definition: GLPK.cs:385
static int glp_ios_best_node(glp_tree T)
glp_ios_best_node - find active subproblem with best local bound .
Definition: GLPK.cs:2186
static glp_cli_arc_data glp_cli_arc_get_data(glp_arc arc)
Get arc data.
Definition: GLPK.cs:173
static double glp_difftime(double t1, double t0)
glp_difftime - compute difference between two time values .
Definition: GLPK.cs:2854
static string glp_get_col_name(glp_prob P, int j)
glp_get_col_name - retrieve column name .
Definition: GLPK.cs:622
static int glp_open_tee(string name)
glp_open_tee - start copying terminal output to text file .
Definition: GLPK.cs:2690
static int glp_asnprob_lp(glp_prob P, int form, glp_graph G, int names, int v_set, int a_cost)
glp_asnprob_lp - convert assignment problem to LP .
Definition: GLPK.cs:3107
static int glp_find_row(glp_prob P, string name)
glp_find_row - find row by its name .
Definition: GLPK.cs:800
static int glp_init_env()
glp_init_env - initialize GLPK environment .
Definition: GLPK.cs:2565
static void glp_ios_branch_upon(glp_tree T, int j, int sel)
glp_ios_branch_upon - choose variable to branch upon .
Definition: GLPK.cs:2300
static double glp_get_col_lb(glp_prob P, int j)
glp_get_col_lb - retrieve column lower bound .
Definition: GLPK.cs:694
static int glp_get_col_bind(glp_prob P, int j)
glp_get_col_bind - retrieve column index in the basis header .
Definition: GLPK.cs:1699
static int glp_ios_curr_node(glp_tree T)
glp_ios_curr_node - determine current active subproblem .
Definition: GLPK.cs:2092
static int glp_add_cols(glp_prob P, int ncs)
glp_add_cols - add new columns to problem object .
Definition: GLPK.cs:303
static double glp_mip_row_val(glp_prob P, int i)
glp_mip_row_val - retrieve row value (MIP solution) .
Definition: GLPK.cs:1420
static int glp_write_asnprob(glp_graph G, int v_set, int a_cost, string fname)
glp_write_asnprob - write assignment problem data in DIMACS format .
Definition: GLPK.cs:3241
static void glp_delete_index(glp_prob P)
glp_delete_index - delete the name index .
Definition: GLPK.cs:829
static int glp_ios_prev_node(glp_tree T, int p)
glp_ios_prev_node - determine previous active subproblem .
Definition: GLPK.cs:2124
static void glp_ftran(glp_prob P, SWIGTYPE_p_double x)
glp_ftran - perform forward transformation (solve system B*x = b) .
Definition: GLPK.cs:1727
static void glp_analyze_coef(glp_prob P, int k, SWIGTYPE_p_double coef1, SWIGTYPE_p_int var1, SWIGTYPE_p_double value1, SWIGTYPE_p_double coef2, SWIGTYPE_p_int var2, SWIGTYPE_p_double value2)
glp_analyze_coef - analyze objective coefficient at basic variable .
Definition: GLPK.cs:1993
static int glp_get_mat_col(glp_prob P, int j, SWIGTYPE_p_int ind, SWIGTYPE_p_double val)
glp_get_mat_col - retrieve column of the constraint matrix .
Definition: GLPK.cs:772
static void glp_set_mat_col(glp_prob P, int j, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val)
glp_set_mat_col - set (replace) column of the constraint matrix .
Definition: GLPK.cs:415
static double glp_get_col_prim(glp_prob P, int j)
glp_get_col_prim - retrieve column primal value (basic solution) .
Definition: GLPK.cs:1142
static void glp_set_row_bnds(glp_prob P, int i, int type, double lb, double ub)
glp_set_row_bnds - set (change) row bounds .
Definition: GLPK.cs:351
static void glp_cli_error(string message)
Abort GLPK library with error message.
Definition: GLPK.cs:141
static int glp_free_env()
glp_free_env - free GLPK environment .
Definition: GLPK.cs:2603
static int glp_write_sol(glp_prob P, string fname)
glp_write_sol - write basic solution to text file .
Definition: GLPK.cs:1488
static int glp_write_ipt(glp_prob P, string fname)
glp_write_ipt - write interior-point solution to text file .
Definition: GLPK.cs:1543
static int glp_ios_next_node(glp_tree T, int p)
glp_ios_next_node - determine next active subproblem .
Definition: GLPK.cs:2108
static double glp_ipt_obj_val(glp_prob P)
glp_ipt_obj_val - retrieve objective value (interior point) .
Definition: GLPK.cs:1241
static void glp_init_smcp(glp_smcp parm)
glp_init_smcp - initialize simplex method control parameters .
Definition: GLPK.cs:1012
static double glp_get_rii(glp_prob P, int i)
glp_get_rii - retrieve row scale factor .
Definition: GLPK.cs:868
static void glp_mem_usage(SWIGTYPE_p_int count, SWIGTYPE_p_int cpeak, SWIGTYPE_p_size_t total, SWIGTYPE_p_size_t tpeak)
glp_mem_usage - get memory usage information .
Definition: GLPK.cs:2832
static int glp_read_mip(glp_prob P, string fname)
glp_read_mip - read MIP solution from text file .
Definition: GLPK.cs:1569
static void glp_set_col_kind(glp_prob P, int j, int kind)
glp_set_col_kind - set (change) column kind .
Definition: GLPK.cs:1312
static int glp_read_prob(glp_prob P, int flags, string fname)
glp_read_prob - read problem data in GLPK format .
Definition: GLPK.cs:2421
static int glp_ios_node_level(glp_tree T, int p)
glp_ios_node_level - determine subproblem level .
Definition: GLPK.cs:2152
static int glp_bf_updated(glp_prob P)
glp_bf_updated - check if the basis factorization has been updated .
Definition: GLPK.cs:1626
static void glp_free(SWIGTYPE_p_void ptr)
glp_free - free (deallocate) memory block .
Definition: GLPK.cs:2802
static int glp_write_mincost(glp_graph G, int v_rhs, int a_low, int a_cap, int a_cost, string fname)
glp_write_mincost - write min-cost flow problem data in DIMACS format .
Definition: GLPK.cs:3177
static int glp_find_col(glp_prob P, string name)
glp_find_col - find column by its name .
Definition: GLPK.cs:814
static void glp_set_col_stat(glp_prob P, int j, int stat)
glp_set_col_stat - set (change) column status .
Definition: GLPK.cs:943
static int glp_read_ccdata(glp_graph G, int v_wgt, string fname)
glp_read_ccdata - read graph in DIMACS clique/coloring format .
Definition: GLPK.cs:3257
static void glp_scale_prob(glp_prob P, int flags)
glp_scale_prob - scale problem data .
Definition: GLPK.cs:899
static int glp_write_mip(glp_prob P, string fname)
glp_write_mip - write MIP solution to text file .
Definition: GLPK.cs:1589
static double glp_get_col_dual(glp_prob P, int j)
glp_get_col_dual - retrieve column dual value (basic solution) .
Definition: GLPK.cs:1156
static int glp_get_num_bin(glp_prob P)
glp_get_num_bin - retrieve number of binary columns .
Definition: GLPK.cs:1354
static void glp_btran(glp_prob P, SWIGTYPE_p_double x)
glp_btran - perform backward transformation (solve system B&#39;*x = b) .
Definition: GLPK.cs:1743
static void glp_sort_matrix(glp_prob P)
glp_sort_matrix - sort elements of the constraint matrix .
Definition: GLPK.cs:466
static int glp_ios_reason(glp_tree T)
glp_ios_reason - determine reason for calling the callback routine .
Definition: GLPK.cs:2044
static double glp_get_row_lb(glp_prob P, int i)
glp_get_row_lb - retrieve row lower bound .
Definition: GLPK.cs:651
static glp_arc glp_add_arc(glp_graph G, int i, int j)
glp_add_arc - add new arc to graph .
Definition: GLPK.cs:2919
static void glp_assert_(string expr, string file, int line)
glp_assert - check for logical condition .
Definition: GLPK.cs:2746
static int glp_get_dual_stat(glp_prob P)
glp_get_dual_stat - retrieve status of dual basic solution .
Definition: GLPK.cs:1056
static int glp_get_row_stat(glp_prob P, int i)
glp_get_row_stat - retrieve row status .
Definition: GLPK.cs:1085
static int glp_get_num_int(glp_prob P)
glp_get_num_int - retrieve number of integer columns .
Definition: GLPK.cs:1340
static double glp_mip_obj_val(glp_prob P)
glp_mip_obj_val - retrieve objective value (MIP solution) .
Definition: GLPK.cs:1406
static int glp_weak_comp(glp_graph G, int v_num)
glp_weak_comp - find all weakly connected components of graph .
Definition: GLPK.cs:3326
static int glp_ios_heur_sol(glp_tree T, SWIGTYPE_p_double x)
glp_ios_heur_sol - provide solution found by heuristic .
Definition: GLPK.cs:2330
static void glp_std_basis(glp_prob P)
glp_std_basis - construct standard initial LP basis .
Definition: GLPK.cs:957
static int glp_get_row_type(glp_prob P, int i)
glp_get_row_type - retrieve row type .
Definition: GLPK.cs:637
static void glp_set_graph_name(glp_graph G, string name)
glp_set_graph_name - assign (change) graph name .
Definition: GLPK.cs:2878
static void glp_set_mat_row(glp_prob P, int i, int len, SWIGTYPE_p_int ind, SWIGTYPE_p_double val)
glp_set_mat_row - set (replace) row of the constraint matrix .
Definition: GLPK.cs:400
static void glp_error_hook(SWIGTYPE_p_f_p_void__void func, SWIGTYPE_p_void info)
glp_error_hook - install hook to intercept abnormal termination .
Definition: GLPK.cs:2761
static void glp_del_cols(glp_prob P, int ncs, SWIGTYPE_p_int num)
glp_del_cols - delete columns from problem object .
Definition: GLPK.cs:494
static int glp_add_vertices(glp_graph G, int nadd)
glp_add_vertices - add new vertices to graph .
Definition: GLPK.cs:2894
static void glp_maxflow_lp(glp_prob P, glp_graph G, int names, int s, int t, int a_cap)
glp_maxflow_lp - convert maximum flow problem to LP .
Definition: GLPK.cs:3069
static void glp_set_bfcp(glp_prob P, glp_bfcp parm)
glp_set_bfcp - change basis factorization control parameters .
Definition: GLPK.cs:1656
static int glp_mip_status(glp_prob P)
glp_mip_status - retrieve status of MIP solution .
Definition: GLPK.cs:1392
static string glp_version()
glp_version - determine library version .
Definition: GLPK.cs:2579
static glp_prob glp_ios_get_prob(glp_tree T)
glp_ios_get_prob - access the problem object .
Definition: GLPK.cs:2060
static int glp_get_prim_stat(glp_prob P)
glp_get_prim_stat - retrieve status of primal basic solution .
Definition: GLPK.cs:1041
static int glp_eval_tab_col(glp_prob P, int k, SWIGTYPE_p_int ind, SWIGTYPE_p_double val)
glp_eval_tab_col - compute column of the simplex tableau .
Definition: GLPK.cs:1834
static void doubleArray_setitem(SWIGTYPE_p_double ary, int index, double value)
Sets the value of an element of an array of double.
Definition: GLPK.cs:69
static void delete_intArray(SWIGTYPE_p_int ary)
Deletes an array of int.
Definition: GLPK.cs:100
static SWIGTYPE_p_int new_intArray(int nelements)
Creates a new array of int.
Definition: GLPK.cs:86
static void glp_term_hook(SWIGTYPE_p_f_p_void_p_q_const__char__int func, SWIGTYPE_p_void info)
glp_term_hook - install hook to intercept terminal output .
Definition: GLPK.cs:2675
static double glp_ios_node_bound(glp_tree T, int p)
glp_ios_node_bound - determine subproblem local bound .
Definition: GLPK.cs:2170
static int glp_get_num_cols(glp_prob P)
glp_get_num_cols - retrieve number of columns .
Definition: GLPK.cs:594
static int glp_warm_up(glp_prob P)
glp_warm_up - "warm up" LP basis .
Definition: GLPK.cs:1762
static int glp_get_status(glp_prob P)
glp_get_status - retrieve generic status of basic solution .
Definition: GLPK.cs:1026
static int glp_get_row_bind(glp_prob P, int i)
glp_get_row_bind - retrieve row index in the basis header .
Definition: GLPK.cs:1685
static string glp_get_row_name(glp_prob P, int i)
glp_get_row_name - retrieve row name .
Definition: GLPK.cs:608
static int glp_write_ccdata(glp_graph G, int v_wgt, string fname)
glp_write_ccdata - write graph in DIMACS clique/coloring format .
Definition: GLPK.cs:3273
static SWIGTYPE_p_double new_doubleArray(int nelements)
Creates a new array of double.
Definition: GLPK.cs:26
static int glp_read_graph(glp_graph G, string fname)
glp_read_graph - read graph from plain text file .
Definition: GLPK.cs:3008
static SWIGTYPE_p_void glp_ios_node_data(glp_tree T, int p)
glp_ios_node_data - access subproblem application-specific data .
Definition: GLPK.cs:2222
static int glp_close_tee()
glp_close_tee - stop copying terminal output to text file .
Definition: GLPK.cs:2706
static void delete_doubleArray(SWIGTYPE_p_double ary)
Deletes an array of double.
Definition: GLPK.cs:40
static void glp_ios_row_attr(glp_tree T, int i, glp_attr attr)
glp_ios_row_attr - retrieve additional row attributes .
Definition: GLPK.cs:2237
static int glp_write_graph(glp_graph G, string fname)
glp_write_graph - write graph to plain text file .
Definition: GLPK.cs:3024
static double glp_ios_mip_gap(glp_tree T)
glp_ios_mip_gap - compute relative MIP gap .
Definition: GLPK.cs:2204
static int glp_get_col_kind(glp_prob P, int j)
glp_get_col_kind - retrieve column kind .
Definition: GLPK.cs:1326
static double glp_ipt_col_prim(glp_prob P, int j)
glp_ipt_col_prim - retrieve column primal value (interior point) .
Definition: GLPK.cs:1283
static double glp_get_row_prim(glp_prob P, int i)
glp_get_row_prim - retrieve row primal value (basic solution) .
Definition: GLPK.cs:1099
static void glp_ios_tree_size(glp_tree T, SWIGTYPE_p_int a_cnt, SWIGTYPE_p_int n_cnt, SWIGTYPE_p_int t_cnt)
glp_ios_tree_size - determine size of the branch-and-bound tree .
Definition: GLPK.cs:2079
static void glp_mem_limit(int limit)
glp_mem_limit - set memory usage limit .
Definition: GLPK.cs:2815
static double glp_get_obj_coef(glp_prob P, int j)
glp_get_obj_coef - retrieve obj.
Definition: GLPK.cs:724
static double glp_ipt_col_dual(glp_prob P, int j)
glp_ipt_col_dual - retrieve column dual value (interior point) .
Definition: GLPK.cs:1297
static double doubleArray_getitem(SWIGTYPE_p_double ary, int index)
Retrieves an element of an array of double.
Definition: GLPK.cs:54
static void glp_init_iptcp(glp_iptcp parm)
glp_init_iptcp - initialize interior-point solver control parameters .
Definition: GLPK.cs:1213
static int glp_get_col_type(glp_prob P, int j)
glp_get_col_type - retrieve column type .
Definition: GLPK.cs:680
static int glp_check_asnprob(glp_graph G, int v_set)
glp_check_asnprob - check correctness of assignment problem data .
Definition: GLPK.cs:3091
static void glp_set_row_stat(glp_prob P, int i, int stat)
glp_set_row_stat - set (change) row status .
Definition: GLPK.cs:928
static double glp_get_row_dual(glp_prob P, int i)
glp_get_row_dual - retrieve row dual value (basic solution) .
Definition: GLPK.cs:1113
static SWIGTYPE_p_void glp_alloc(int n, int size)
glp_alloc - allocate memory block .
Definition: GLPK.cs:2777
static int glp_get_unbnd_ray(glp_prob P)
glp_get_unbnd_ray - determine variable causing unboundedness .
Definition: GLPK.cs:1172
static int glp_asnprob_hall(glp_graph G, int v_set, int a_x)
glp_asnprob_hall - find bipartite matching of maximum cardinality .
Definition: GLPK.cs:3136