/usr/share/pyshared/glpk/glpkpi.py is in python-glpk 0.4.52-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_glpkpi', [dirname(__file__)])
except ImportError:
import _glpkpi
return _glpkpi
if fp is not None:
try:
_mod = imp.load_module('_glpkpi', fp, pathname, description)
finally:
fp.close()
return _mod
_glpkpi = swig_import_helper()
del swig_import_helper
else:
import _glpkpi
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
class intArray(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, intArray, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, intArray, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _glpkpi.new_intArray(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_intArray
__del__ = lambda self : None;
def __getitem__(self, *args): return _glpkpi.intArray___getitem__(self, *args)
def __setitem__(self, *args): return _glpkpi.intArray___setitem__(self, *args)
def cast(self): return _glpkpi.intArray_cast(self)
__swig_getmethods__["frompointer"] = lambda x: _glpkpi.intArray_frompointer
if _newclass:frompointer = staticmethod(_glpkpi.intArray_frompointer)
intArray_swigregister = _glpkpi.intArray_swigregister
intArray_swigregister(intArray)
def intArray_frompointer(*args):
return _glpkpi.intArray_frompointer(*args)
intArray_frompointer = _glpkpi.intArray_frompointer
class doubleArray(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, doubleArray, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, doubleArray, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _glpkpi.new_doubleArray(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_doubleArray
__del__ = lambda self : None;
def __getitem__(self, *args): return _glpkpi.doubleArray___getitem__(self, *args)
def __setitem__(self, *args): return _glpkpi.doubleArray___setitem__(self, *args)
def cast(self): return _glpkpi.doubleArray_cast(self)
__swig_getmethods__["frompointer"] = lambda x: _glpkpi.doubleArray_frompointer
if _newclass:frompointer = staticmethod(_glpkpi.doubleArray_frompointer)
doubleArray_swigregister = _glpkpi.doubleArray_swigregister
doubleArray_swigregister(doubleArray)
def doubleArray_frompointer(*args):
return _glpkpi.doubleArray_frompointer(*args)
doubleArray_frompointer = _glpkpi.doubleArray_frompointer
GLP_MAJOR_VERSION = _glpkpi.GLP_MAJOR_VERSION
GLP_MINOR_VERSION = _glpkpi.GLP_MINOR_VERSION
GLP_MIN = _glpkpi.GLP_MIN
GLP_MAX = _glpkpi.GLP_MAX
GLP_CV = _glpkpi.GLP_CV
GLP_IV = _glpkpi.GLP_IV
GLP_BV = _glpkpi.GLP_BV
GLP_FR = _glpkpi.GLP_FR
GLP_LO = _glpkpi.GLP_LO
GLP_UP = _glpkpi.GLP_UP
GLP_DB = _glpkpi.GLP_DB
GLP_FX = _glpkpi.GLP_FX
GLP_BS = _glpkpi.GLP_BS
GLP_NL = _glpkpi.GLP_NL
GLP_NU = _glpkpi.GLP_NU
GLP_NF = _glpkpi.GLP_NF
GLP_NS = _glpkpi.GLP_NS
GLP_SF_GM = _glpkpi.GLP_SF_GM
GLP_SF_EQ = _glpkpi.GLP_SF_EQ
GLP_SF_2N = _glpkpi.GLP_SF_2N
GLP_SF_SKIP = _glpkpi.GLP_SF_SKIP
GLP_SF_AUTO = _glpkpi.GLP_SF_AUTO
GLP_SOL = _glpkpi.GLP_SOL
GLP_IPT = _glpkpi.GLP_IPT
GLP_MIP = _glpkpi.GLP_MIP
GLP_UNDEF = _glpkpi.GLP_UNDEF
GLP_FEAS = _glpkpi.GLP_FEAS
GLP_INFEAS = _glpkpi.GLP_INFEAS
GLP_NOFEAS = _glpkpi.GLP_NOFEAS
GLP_OPT = _glpkpi.GLP_OPT
GLP_UNBND = _glpkpi.GLP_UNBND
class glp_bfcp(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, glp_bfcp, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, glp_bfcp, name)
__repr__ = _swig_repr
__swig_setmethods__["msg_lev"] = _glpkpi.glp_bfcp_msg_lev_set
__swig_getmethods__["msg_lev"] = _glpkpi.glp_bfcp_msg_lev_get
if _newclass:msg_lev = _swig_property(_glpkpi.glp_bfcp_msg_lev_get, _glpkpi.glp_bfcp_msg_lev_set)
__swig_setmethods__["type"] = _glpkpi.glp_bfcp_type_set
__swig_getmethods__["type"] = _glpkpi.glp_bfcp_type_get
if _newclass:type = _swig_property(_glpkpi.glp_bfcp_type_get, _glpkpi.glp_bfcp_type_set)
__swig_setmethods__["lu_size"] = _glpkpi.glp_bfcp_lu_size_set
__swig_getmethods__["lu_size"] = _glpkpi.glp_bfcp_lu_size_get
if _newclass:lu_size = _swig_property(_glpkpi.glp_bfcp_lu_size_get, _glpkpi.glp_bfcp_lu_size_set)
__swig_setmethods__["piv_tol"] = _glpkpi.glp_bfcp_piv_tol_set
__swig_getmethods__["piv_tol"] = _glpkpi.glp_bfcp_piv_tol_get
if _newclass:piv_tol = _swig_property(_glpkpi.glp_bfcp_piv_tol_get, _glpkpi.glp_bfcp_piv_tol_set)
__swig_setmethods__["piv_lim"] = _glpkpi.glp_bfcp_piv_lim_set
__swig_getmethods__["piv_lim"] = _glpkpi.glp_bfcp_piv_lim_get
if _newclass:piv_lim = _swig_property(_glpkpi.glp_bfcp_piv_lim_get, _glpkpi.glp_bfcp_piv_lim_set)
__swig_setmethods__["suhl"] = _glpkpi.glp_bfcp_suhl_set
__swig_getmethods__["suhl"] = _glpkpi.glp_bfcp_suhl_get
if _newclass:suhl = _swig_property(_glpkpi.glp_bfcp_suhl_get, _glpkpi.glp_bfcp_suhl_set)
__swig_setmethods__["eps_tol"] = _glpkpi.glp_bfcp_eps_tol_set
__swig_getmethods__["eps_tol"] = _glpkpi.glp_bfcp_eps_tol_get
if _newclass:eps_tol = _swig_property(_glpkpi.glp_bfcp_eps_tol_get, _glpkpi.glp_bfcp_eps_tol_set)
__swig_setmethods__["max_gro"] = _glpkpi.glp_bfcp_max_gro_set
__swig_getmethods__["max_gro"] = _glpkpi.glp_bfcp_max_gro_get
if _newclass:max_gro = _swig_property(_glpkpi.glp_bfcp_max_gro_get, _glpkpi.glp_bfcp_max_gro_set)
__swig_setmethods__["nfs_max"] = _glpkpi.glp_bfcp_nfs_max_set
__swig_getmethods__["nfs_max"] = _glpkpi.glp_bfcp_nfs_max_get
if _newclass:nfs_max = _swig_property(_glpkpi.glp_bfcp_nfs_max_get, _glpkpi.glp_bfcp_nfs_max_set)
__swig_setmethods__["upd_tol"] = _glpkpi.glp_bfcp_upd_tol_set
__swig_getmethods__["upd_tol"] = _glpkpi.glp_bfcp_upd_tol_get
if _newclass:upd_tol = _swig_property(_glpkpi.glp_bfcp_upd_tol_get, _glpkpi.glp_bfcp_upd_tol_set)
__swig_setmethods__["nrs_max"] = _glpkpi.glp_bfcp_nrs_max_set
__swig_getmethods__["nrs_max"] = _glpkpi.glp_bfcp_nrs_max_get
if _newclass:nrs_max = _swig_property(_glpkpi.glp_bfcp_nrs_max_get, _glpkpi.glp_bfcp_nrs_max_set)
__swig_setmethods__["rs_size"] = _glpkpi.glp_bfcp_rs_size_set
__swig_getmethods__["rs_size"] = _glpkpi.glp_bfcp_rs_size_get
if _newclass:rs_size = _swig_property(_glpkpi.glp_bfcp_rs_size_get, _glpkpi.glp_bfcp_rs_size_set)
__swig_setmethods__["foo_bar"] = _glpkpi.glp_bfcp_foo_bar_set
__swig_getmethods__["foo_bar"] = _glpkpi.glp_bfcp_foo_bar_get
if _newclass:foo_bar = _swig_property(_glpkpi.glp_bfcp_foo_bar_get, _glpkpi.glp_bfcp_foo_bar_set)
def __init__(self):
this = _glpkpi.new_glp_bfcp()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_glp_bfcp
__del__ = lambda self : None;
glp_bfcp_swigregister = _glpkpi.glp_bfcp_swigregister
glp_bfcp_swigregister(glp_bfcp)
GLP_BF_FT = _glpkpi.GLP_BF_FT
GLP_BF_BG = _glpkpi.GLP_BF_BG
GLP_BF_GR = _glpkpi.GLP_BF_GR
class glp_smcp(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, glp_smcp, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, glp_smcp, name)
__repr__ = _swig_repr
__swig_setmethods__["msg_lev"] = _glpkpi.glp_smcp_msg_lev_set
__swig_getmethods__["msg_lev"] = _glpkpi.glp_smcp_msg_lev_get
if _newclass:msg_lev = _swig_property(_glpkpi.glp_smcp_msg_lev_get, _glpkpi.glp_smcp_msg_lev_set)
__swig_setmethods__["meth"] = _glpkpi.glp_smcp_meth_set
__swig_getmethods__["meth"] = _glpkpi.glp_smcp_meth_get
if _newclass:meth = _swig_property(_glpkpi.glp_smcp_meth_get, _glpkpi.glp_smcp_meth_set)
__swig_setmethods__["pricing"] = _glpkpi.glp_smcp_pricing_set
__swig_getmethods__["pricing"] = _glpkpi.glp_smcp_pricing_get
if _newclass:pricing = _swig_property(_glpkpi.glp_smcp_pricing_get, _glpkpi.glp_smcp_pricing_set)
__swig_setmethods__["r_test"] = _glpkpi.glp_smcp_r_test_set
__swig_getmethods__["r_test"] = _glpkpi.glp_smcp_r_test_get
if _newclass:r_test = _swig_property(_glpkpi.glp_smcp_r_test_get, _glpkpi.glp_smcp_r_test_set)
__swig_setmethods__["tol_bnd"] = _glpkpi.glp_smcp_tol_bnd_set
__swig_getmethods__["tol_bnd"] = _glpkpi.glp_smcp_tol_bnd_get
if _newclass:tol_bnd = _swig_property(_glpkpi.glp_smcp_tol_bnd_get, _glpkpi.glp_smcp_tol_bnd_set)
__swig_setmethods__["tol_dj"] = _glpkpi.glp_smcp_tol_dj_set
__swig_getmethods__["tol_dj"] = _glpkpi.glp_smcp_tol_dj_get
if _newclass:tol_dj = _swig_property(_glpkpi.glp_smcp_tol_dj_get, _glpkpi.glp_smcp_tol_dj_set)
__swig_setmethods__["tol_piv"] = _glpkpi.glp_smcp_tol_piv_set
__swig_getmethods__["tol_piv"] = _glpkpi.glp_smcp_tol_piv_get
if _newclass:tol_piv = _swig_property(_glpkpi.glp_smcp_tol_piv_get, _glpkpi.glp_smcp_tol_piv_set)
__swig_setmethods__["obj_ll"] = _glpkpi.glp_smcp_obj_ll_set
__swig_getmethods__["obj_ll"] = _glpkpi.glp_smcp_obj_ll_get
if _newclass:obj_ll = _swig_property(_glpkpi.glp_smcp_obj_ll_get, _glpkpi.glp_smcp_obj_ll_set)
__swig_setmethods__["obj_ul"] = _glpkpi.glp_smcp_obj_ul_set
__swig_getmethods__["obj_ul"] = _glpkpi.glp_smcp_obj_ul_get
if _newclass:obj_ul = _swig_property(_glpkpi.glp_smcp_obj_ul_get, _glpkpi.glp_smcp_obj_ul_set)
__swig_setmethods__["it_lim"] = _glpkpi.glp_smcp_it_lim_set
__swig_getmethods__["it_lim"] = _glpkpi.glp_smcp_it_lim_get
if _newclass:it_lim = _swig_property(_glpkpi.glp_smcp_it_lim_get, _glpkpi.glp_smcp_it_lim_set)
__swig_setmethods__["tm_lim"] = _glpkpi.glp_smcp_tm_lim_set
__swig_getmethods__["tm_lim"] = _glpkpi.glp_smcp_tm_lim_get
if _newclass:tm_lim = _swig_property(_glpkpi.glp_smcp_tm_lim_get, _glpkpi.glp_smcp_tm_lim_set)
__swig_setmethods__["out_frq"] = _glpkpi.glp_smcp_out_frq_set
__swig_getmethods__["out_frq"] = _glpkpi.glp_smcp_out_frq_get
if _newclass:out_frq = _swig_property(_glpkpi.glp_smcp_out_frq_get, _glpkpi.glp_smcp_out_frq_set)
__swig_setmethods__["out_dly"] = _glpkpi.glp_smcp_out_dly_set
__swig_getmethods__["out_dly"] = _glpkpi.glp_smcp_out_dly_get
if _newclass:out_dly = _swig_property(_glpkpi.glp_smcp_out_dly_get, _glpkpi.glp_smcp_out_dly_set)
__swig_setmethods__["presolve"] = _glpkpi.glp_smcp_presolve_set
__swig_getmethods__["presolve"] = _glpkpi.glp_smcp_presolve_get
if _newclass:presolve = _swig_property(_glpkpi.glp_smcp_presolve_get, _glpkpi.glp_smcp_presolve_set)
__swig_setmethods__["foo_bar"] = _glpkpi.glp_smcp_foo_bar_set
__swig_getmethods__["foo_bar"] = _glpkpi.glp_smcp_foo_bar_get
if _newclass:foo_bar = _swig_property(_glpkpi.glp_smcp_foo_bar_get, _glpkpi.glp_smcp_foo_bar_set)
def __init__(self):
this = _glpkpi.new_glp_smcp()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_glp_smcp
__del__ = lambda self : None;
glp_smcp_swigregister = _glpkpi.glp_smcp_swigregister
glp_smcp_swigregister(glp_smcp)
GLP_MSG_OFF = _glpkpi.GLP_MSG_OFF
GLP_MSG_ERR = _glpkpi.GLP_MSG_ERR
GLP_MSG_ON = _glpkpi.GLP_MSG_ON
GLP_MSG_ALL = _glpkpi.GLP_MSG_ALL
GLP_MSG_DBG = _glpkpi.GLP_MSG_DBG
GLP_PRIMAL = _glpkpi.GLP_PRIMAL
GLP_DUALP = _glpkpi.GLP_DUALP
GLP_DUAL = _glpkpi.GLP_DUAL
GLP_PT_STD = _glpkpi.GLP_PT_STD
GLP_PT_PSE = _glpkpi.GLP_PT_PSE
GLP_RT_STD = _glpkpi.GLP_RT_STD
GLP_RT_HAR = _glpkpi.GLP_RT_HAR
class glp_iptcp(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, glp_iptcp, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, glp_iptcp, name)
__repr__ = _swig_repr
__swig_setmethods__["msg_lev"] = _glpkpi.glp_iptcp_msg_lev_set
__swig_getmethods__["msg_lev"] = _glpkpi.glp_iptcp_msg_lev_get
if _newclass:msg_lev = _swig_property(_glpkpi.glp_iptcp_msg_lev_get, _glpkpi.glp_iptcp_msg_lev_set)
__swig_setmethods__["ord_alg"] = _glpkpi.glp_iptcp_ord_alg_set
__swig_getmethods__["ord_alg"] = _glpkpi.glp_iptcp_ord_alg_get
if _newclass:ord_alg = _swig_property(_glpkpi.glp_iptcp_ord_alg_get, _glpkpi.glp_iptcp_ord_alg_set)
__swig_setmethods__["foo_bar"] = _glpkpi.glp_iptcp_foo_bar_set
__swig_getmethods__["foo_bar"] = _glpkpi.glp_iptcp_foo_bar_get
if _newclass:foo_bar = _swig_property(_glpkpi.glp_iptcp_foo_bar_get, _glpkpi.glp_iptcp_foo_bar_set)
def __init__(self):
this = _glpkpi.new_glp_iptcp()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_glp_iptcp
__del__ = lambda self : None;
glp_iptcp_swigregister = _glpkpi.glp_iptcp_swigregister
glp_iptcp_swigregister(glp_iptcp)
GLP_ORD_NONE = _glpkpi.GLP_ORD_NONE
GLP_ORD_QMD = _glpkpi.GLP_ORD_QMD
GLP_ORD_AMD = _glpkpi.GLP_ORD_AMD
GLP_ORD_SYMAMD = _glpkpi.GLP_ORD_SYMAMD
class glp_iocp(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, glp_iocp, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, glp_iocp, name)
__repr__ = _swig_repr
__swig_setmethods__["msg_lev"] = _glpkpi.glp_iocp_msg_lev_set
__swig_getmethods__["msg_lev"] = _glpkpi.glp_iocp_msg_lev_get
if _newclass:msg_lev = _swig_property(_glpkpi.glp_iocp_msg_lev_get, _glpkpi.glp_iocp_msg_lev_set)
__swig_setmethods__["br_tech"] = _glpkpi.glp_iocp_br_tech_set
__swig_getmethods__["br_tech"] = _glpkpi.glp_iocp_br_tech_get
if _newclass:br_tech = _swig_property(_glpkpi.glp_iocp_br_tech_get, _glpkpi.glp_iocp_br_tech_set)
__swig_setmethods__["bt_tech"] = _glpkpi.glp_iocp_bt_tech_set
__swig_getmethods__["bt_tech"] = _glpkpi.glp_iocp_bt_tech_get
if _newclass:bt_tech = _swig_property(_glpkpi.glp_iocp_bt_tech_get, _glpkpi.glp_iocp_bt_tech_set)
__swig_setmethods__["tol_int"] = _glpkpi.glp_iocp_tol_int_set
__swig_getmethods__["tol_int"] = _glpkpi.glp_iocp_tol_int_get
if _newclass:tol_int = _swig_property(_glpkpi.glp_iocp_tol_int_get, _glpkpi.glp_iocp_tol_int_set)
__swig_setmethods__["tol_obj"] = _glpkpi.glp_iocp_tol_obj_set
__swig_getmethods__["tol_obj"] = _glpkpi.glp_iocp_tol_obj_get
if _newclass:tol_obj = _swig_property(_glpkpi.glp_iocp_tol_obj_get, _glpkpi.glp_iocp_tol_obj_set)
__swig_setmethods__["tm_lim"] = _glpkpi.glp_iocp_tm_lim_set
__swig_getmethods__["tm_lim"] = _glpkpi.glp_iocp_tm_lim_get
if _newclass:tm_lim = _swig_property(_glpkpi.glp_iocp_tm_lim_get, _glpkpi.glp_iocp_tm_lim_set)
__swig_setmethods__["out_frq"] = _glpkpi.glp_iocp_out_frq_set
__swig_getmethods__["out_frq"] = _glpkpi.glp_iocp_out_frq_get
if _newclass:out_frq = _swig_property(_glpkpi.glp_iocp_out_frq_get, _glpkpi.glp_iocp_out_frq_set)
__swig_setmethods__["out_dly"] = _glpkpi.glp_iocp_out_dly_set
__swig_getmethods__["out_dly"] = _glpkpi.glp_iocp_out_dly_get
if _newclass:out_dly = _swig_property(_glpkpi.glp_iocp_out_dly_get, _glpkpi.glp_iocp_out_dly_set)
__swig_setmethods__["cb_func"] = _glpkpi.glp_iocp_cb_func_set
__swig_getmethods__["cb_func"] = _glpkpi.glp_iocp_cb_func_get
if _newclass:cb_func = _swig_property(_glpkpi.glp_iocp_cb_func_get, _glpkpi.glp_iocp_cb_func_set)
__swig_setmethods__["cb_info"] = _glpkpi.glp_iocp_cb_info_set
__swig_getmethods__["cb_info"] = _glpkpi.glp_iocp_cb_info_get
if _newclass:cb_info = _swig_property(_glpkpi.glp_iocp_cb_info_get, _glpkpi.glp_iocp_cb_info_set)
__swig_setmethods__["cb_size"] = _glpkpi.glp_iocp_cb_size_set
__swig_getmethods__["cb_size"] = _glpkpi.glp_iocp_cb_size_get
if _newclass:cb_size = _swig_property(_glpkpi.glp_iocp_cb_size_get, _glpkpi.glp_iocp_cb_size_set)
__swig_setmethods__["pp_tech"] = _glpkpi.glp_iocp_pp_tech_set
__swig_getmethods__["pp_tech"] = _glpkpi.glp_iocp_pp_tech_get
if _newclass:pp_tech = _swig_property(_glpkpi.glp_iocp_pp_tech_get, _glpkpi.glp_iocp_pp_tech_set)
__swig_setmethods__["mip_gap"] = _glpkpi.glp_iocp_mip_gap_set
__swig_getmethods__["mip_gap"] = _glpkpi.glp_iocp_mip_gap_get
if _newclass:mip_gap = _swig_property(_glpkpi.glp_iocp_mip_gap_get, _glpkpi.glp_iocp_mip_gap_set)
__swig_setmethods__["mir_cuts"] = _glpkpi.glp_iocp_mir_cuts_set
__swig_getmethods__["mir_cuts"] = _glpkpi.glp_iocp_mir_cuts_get
if _newclass:mir_cuts = _swig_property(_glpkpi.glp_iocp_mir_cuts_get, _glpkpi.glp_iocp_mir_cuts_set)
__swig_setmethods__["gmi_cuts"] = _glpkpi.glp_iocp_gmi_cuts_set
__swig_getmethods__["gmi_cuts"] = _glpkpi.glp_iocp_gmi_cuts_get
if _newclass:gmi_cuts = _swig_property(_glpkpi.glp_iocp_gmi_cuts_get, _glpkpi.glp_iocp_gmi_cuts_set)
__swig_setmethods__["cov_cuts"] = _glpkpi.glp_iocp_cov_cuts_set
__swig_getmethods__["cov_cuts"] = _glpkpi.glp_iocp_cov_cuts_get
if _newclass:cov_cuts = _swig_property(_glpkpi.glp_iocp_cov_cuts_get, _glpkpi.glp_iocp_cov_cuts_set)
__swig_setmethods__["clq_cuts"] = _glpkpi.glp_iocp_clq_cuts_set
__swig_getmethods__["clq_cuts"] = _glpkpi.glp_iocp_clq_cuts_get
if _newclass:clq_cuts = _swig_property(_glpkpi.glp_iocp_clq_cuts_get, _glpkpi.glp_iocp_clq_cuts_set)
__swig_setmethods__["presolve"] = _glpkpi.glp_iocp_presolve_set
__swig_getmethods__["presolve"] = _glpkpi.glp_iocp_presolve_get
if _newclass:presolve = _swig_property(_glpkpi.glp_iocp_presolve_get, _glpkpi.glp_iocp_presolve_set)
__swig_setmethods__["binarize"] = _glpkpi.glp_iocp_binarize_set
__swig_getmethods__["binarize"] = _glpkpi.glp_iocp_binarize_get
if _newclass:binarize = _swig_property(_glpkpi.glp_iocp_binarize_get, _glpkpi.glp_iocp_binarize_set)
__swig_setmethods__["fp_heur"] = _glpkpi.glp_iocp_fp_heur_set
__swig_getmethods__["fp_heur"] = _glpkpi.glp_iocp_fp_heur_get
if _newclass:fp_heur = _swig_property(_glpkpi.glp_iocp_fp_heur_get, _glpkpi.glp_iocp_fp_heur_set)
__swig_setmethods__["ps_heur"] = _glpkpi.glp_iocp_ps_heur_set
__swig_getmethods__["ps_heur"] = _glpkpi.glp_iocp_ps_heur_get
if _newclass:ps_heur = _swig_property(_glpkpi.glp_iocp_ps_heur_get, _glpkpi.glp_iocp_ps_heur_set)
__swig_setmethods__["ps_tm_lim"] = _glpkpi.glp_iocp_ps_tm_lim_set
__swig_getmethods__["ps_tm_lim"] = _glpkpi.glp_iocp_ps_tm_lim_get
if _newclass:ps_tm_lim = _swig_property(_glpkpi.glp_iocp_ps_tm_lim_get, _glpkpi.glp_iocp_ps_tm_lim_set)
__swig_setmethods__["use_sol"] = _glpkpi.glp_iocp_use_sol_set
__swig_getmethods__["use_sol"] = _glpkpi.glp_iocp_use_sol_get
if _newclass:use_sol = _swig_property(_glpkpi.glp_iocp_use_sol_get, _glpkpi.glp_iocp_use_sol_set)
__swig_setmethods__["save_sol"] = _glpkpi.glp_iocp_save_sol_set
__swig_getmethods__["save_sol"] = _glpkpi.glp_iocp_save_sol_get
if _newclass:save_sol = _swig_property(_glpkpi.glp_iocp_save_sol_get, _glpkpi.glp_iocp_save_sol_set)
__swig_setmethods__["alien"] = _glpkpi.glp_iocp_alien_set
__swig_getmethods__["alien"] = _glpkpi.glp_iocp_alien_get
if _newclass:alien = _swig_property(_glpkpi.glp_iocp_alien_get, _glpkpi.glp_iocp_alien_set)
__swig_setmethods__["foo_bar"] = _glpkpi.glp_iocp_foo_bar_set
__swig_getmethods__["foo_bar"] = _glpkpi.glp_iocp_foo_bar_get
if _newclass:foo_bar = _swig_property(_glpkpi.glp_iocp_foo_bar_get, _glpkpi.glp_iocp_foo_bar_set)
def __init__(self):
this = _glpkpi.new_glp_iocp()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_glp_iocp
__del__ = lambda self : None;
glp_iocp_swigregister = _glpkpi.glp_iocp_swigregister
glp_iocp_swigregister(glp_iocp)
GLP_BR_FFV = _glpkpi.GLP_BR_FFV
GLP_BR_LFV = _glpkpi.GLP_BR_LFV
GLP_BR_MFV = _glpkpi.GLP_BR_MFV
GLP_BR_DTH = _glpkpi.GLP_BR_DTH
GLP_BR_PCH = _glpkpi.GLP_BR_PCH
GLP_BT_DFS = _glpkpi.GLP_BT_DFS
GLP_BT_BFS = _glpkpi.GLP_BT_BFS
GLP_BT_BLB = _glpkpi.GLP_BT_BLB
GLP_BT_BPH = _glpkpi.GLP_BT_BPH
GLP_PP_NONE = _glpkpi.GLP_PP_NONE
GLP_PP_ROOT = _glpkpi.GLP_PP_ROOT
GLP_PP_ALL = _glpkpi.GLP_PP_ALL
class glp_attr(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, glp_attr, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, glp_attr, name)
__repr__ = _swig_repr
__swig_setmethods__["level"] = _glpkpi.glp_attr_level_set
__swig_getmethods__["level"] = _glpkpi.glp_attr_level_get
if _newclass:level = _swig_property(_glpkpi.glp_attr_level_get, _glpkpi.glp_attr_level_set)
__swig_setmethods__["origin"] = _glpkpi.glp_attr_origin_set
__swig_getmethods__["origin"] = _glpkpi.glp_attr_origin_get
if _newclass:origin = _swig_property(_glpkpi.glp_attr_origin_get, _glpkpi.glp_attr_origin_set)
__swig_setmethods__["klass"] = _glpkpi.glp_attr_klass_set
__swig_getmethods__["klass"] = _glpkpi.glp_attr_klass_get
if _newclass:klass = _swig_property(_glpkpi.glp_attr_klass_get, _glpkpi.glp_attr_klass_set)
__swig_setmethods__["foo_bar"] = _glpkpi.glp_attr_foo_bar_set
__swig_getmethods__["foo_bar"] = _glpkpi.glp_attr_foo_bar_get
if _newclass:foo_bar = _swig_property(_glpkpi.glp_attr_foo_bar_get, _glpkpi.glp_attr_foo_bar_set)
def __init__(self):
this = _glpkpi.new_glp_attr()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_glp_attr
__del__ = lambda self : None;
glp_attr_swigregister = _glpkpi.glp_attr_swigregister
glp_attr_swigregister(glp_attr)
GLP_RF_REG = _glpkpi.GLP_RF_REG
GLP_RF_LAZY = _glpkpi.GLP_RF_LAZY
GLP_RF_CUT = _glpkpi.GLP_RF_CUT
GLP_RF_GMI = _glpkpi.GLP_RF_GMI
GLP_RF_MIR = _glpkpi.GLP_RF_MIR
GLP_RF_COV = _glpkpi.GLP_RF_COV
GLP_RF_CLQ = _glpkpi.GLP_RF_CLQ
GLP_ON = _glpkpi.GLP_ON
GLP_OFF = _glpkpi.GLP_OFF
GLP_IROWGEN = _glpkpi.GLP_IROWGEN
GLP_IBINGO = _glpkpi.GLP_IBINGO
GLP_IHEUR = _glpkpi.GLP_IHEUR
GLP_ICUTGEN = _glpkpi.GLP_ICUTGEN
GLP_IBRANCH = _glpkpi.GLP_IBRANCH
GLP_ISELECT = _glpkpi.GLP_ISELECT
GLP_IPREPRO = _glpkpi.GLP_IPREPRO
GLP_NO_BRNCH = _glpkpi.GLP_NO_BRNCH
GLP_DN_BRNCH = _glpkpi.GLP_DN_BRNCH
GLP_UP_BRNCH = _glpkpi.GLP_UP_BRNCH
GLP_EBADB = _glpkpi.GLP_EBADB
GLP_ESING = _glpkpi.GLP_ESING
GLP_ECOND = _glpkpi.GLP_ECOND
GLP_EBOUND = _glpkpi.GLP_EBOUND
GLP_EFAIL = _glpkpi.GLP_EFAIL
GLP_EOBJLL = _glpkpi.GLP_EOBJLL
GLP_EOBJUL = _glpkpi.GLP_EOBJUL
GLP_EITLIM = _glpkpi.GLP_EITLIM
GLP_ETMLIM = _glpkpi.GLP_ETMLIM
GLP_ENOPFS = _glpkpi.GLP_ENOPFS
GLP_ENODFS = _glpkpi.GLP_ENODFS
GLP_EROOT = _glpkpi.GLP_EROOT
GLP_ESTOP = _glpkpi.GLP_ESTOP
GLP_EMIPGAP = _glpkpi.GLP_EMIPGAP
GLP_ENOFEAS = _glpkpi.GLP_ENOFEAS
GLP_ENOCVG = _glpkpi.GLP_ENOCVG
GLP_EINSTAB = _glpkpi.GLP_EINSTAB
GLP_EDATA = _glpkpi.GLP_EDATA
GLP_ERANGE = _glpkpi.GLP_ERANGE
GLP_KKT_PE = _glpkpi.GLP_KKT_PE
GLP_KKT_PB = _glpkpi.GLP_KKT_PB
GLP_KKT_DE = _glpkpi.GLP_KKT_DE
GLP_KKT_DB = _glpkpi.GLP_KKT_DB
GLP_KKT_CS = _glpkpi.GLP_KKT_CS
GLP_MPS_DECK = _glpkpi.GLP_MPS_DECK
GLP_MPS_FILE = _glpkpi.GLP_MPS_FILE
class glp_mpscp(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, glp_mpscp, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, glp_mpscp, name)
__repr__ = _swig_repr
__swig_setmethods__["blank"] = _glpkpi.glp_mpscp_blank_set
__swig_getmethods__["blank"] = _glpkpi.glp_mpscp_blank_get
if _newclass:blank = _swig_property(_glpkpi.glp_mpscp_blank_get, _glpkpi.glp_mpscp_blank_set)
__swig_setmethods__["obj_name"] = _glpkpi.glp_mpscp_obj_name_set
__swig_getmethods__["obj_name"] = _glpkpi.glp_mpscp_obj_name_get
if _newclass:obj_name = _swig_property(_glpkpi.glp_mpscp_obj_name_get, _glpkpi.glp_mpscp_obj_name_set)
__swig_setmethods__["tol_mps"] = _glpkpi.glp_mpscp_tol_mps_set
__swig_getmethods__["tol_mps"] = _glpkpi.glp_mpscp_tol_mps_get
if _newclass:tol_mps = _swig_property(_glpkpi.glp_mpscp_tol_mps_get, _glpkpi.glp_mpscp_tol_mps_set)
__swig_setmethods__["foo_bar"] = _glpkpi.glp_mpscp_foo_bar_set
__swig_getmethods__["foo_bar"] = _glpkpi.glp_mpscp_foo_bar_get
if _newclass:foo_bar = _swig_property(_glpkpi.glp_mpscp_foo_bar_get, _glpkpi.glp_mpscp_foo_bar_set)
def __init__(self):
this = _glpkpi.new_glp_mpscp()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_glp_mpscp
__del__ = lambda self : None;
glp_mpscp_swigregister = _glpkpi.glp_mpscp_swigregister
glp_mpscp_swigregister(glp_mpscp)
class glp_cpxcp(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, glp_cpxcp, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, glp_cpxcp, name)
__repr__ = _swig_repr
__swig_setmethods__["foo_bar"] = _glpkpi.glp_cpxcp_foo_bar_set
__swig_getmethods__["foo_bar"] = _glpkpi.glp_cpxcp_foo_bar_get
if _newclass:foo_bar = _swig_property(_glpkpi.glp_cpxcp_foo_bar_get, _glpkpi.glp_cpxcp_foo_bar_set)
def __init__(self):
this = _glpkpi.new_glp_cpxcp()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_glp_cpxcp
__del__ = lambda self : None;
glp_cpxcp_swigregister = _glpkpi.glp_cpxcp_swigregister
glp_cpxcp_swigregister(glp_cpxcp)
def glp_create_prob():
return _glpkpi.glp_create_prob()
glp_create_prob = _glpkpi.glp_create_prob
def glp_set_prob_name(*args):
return _glpkpi.glp_set_prob_name(*args)
glp_set_prob_name = _glpkpi.glp_set_prob_name
def glp_set_obj_name(*args):
return _glpkpi.glp_set_obj_name(*args)
glp_set_obj_name = _glpkpi.glp_set_obj_name
def glp_set_obj_dir(*args):
return _glpkpi.glp_set_obj_dir(*args)
glp_set_obj_dir = _glpkpi.glp_set_obj_dir
def glp_add_rows(*args):
return _glpkpi.glp_add_rows(*args)
glp_add_rows = _glpkpi.glp_add_rows
def glp_add_cols(*args):
return _glpkpi.glp_add_cols(*args)
glp_add_cols = _glpkpi.glp_add_cols
def glp_set_row_name(*args):
return _glpkpi.glp_set_row_name(*args)
glp_set_row_name = _glpkpi.glp_set_row_name
def glp_set_col_name(*args):
return _glpkpi.glp_set_col_name(*args)
glp_set_col_name = _glpkpi.glp_set_col_name
def glp_set_row_bnds(*args):
return _glpkpi.glp_set_row_bnds(*args)
glp_set_row_bnds = _glpkpi.glp_set_row_bnds
def glp_set_col_bnds(*args):
return _glpkpi.glp_set_col_bnds(*args)
glp_set_col_bnds = _glpkpi.glp_set_col_bnds
def glp_set_obj_coef(*args):
return _glpkpi.glp_set_obj_coef(*args)
glp_set_obj_coef = _glpkpi.glp_set_obj_coef
def glp_set_mat_row(*args):
return _glpkpi.glp_set_mat_row(*args)
glp_set_mat_row = _glpkpi.glp_set_mat_row
def glp_set_mat_col(*args):
return _glpkpi.glp_set_mat_col(*args)
glp_set_mat_col = _glpkpi.glp_set_mat_col
def glp_load_matrix(*args):
return _glpkpi.glp_load_matrix(*args)
glp_load_matrix = _glpkpi.glp_load_matrix
def glp_check_dup(*args):
return _glpkpi.glp_check_dup(*args)
glp_check_dup = _glpkpi.glp_check_dup
def glp_sort_matrix(*args):
return _glpkpi.glp_sort_matrix(*args)
glp_sort_matrix = _glpkpi.glp_sort_matrix
def glp_del_rows(*args):
return _glpkpi.glp_del_rows(*args)
glp_del_rows = _glpkpi.glp_del_rows
def glp_del_cols(*args):
return _glpkpi.glp_del_cols(*args)
glp_del_cols = _glpkpi.glp_del_cols
def glp_copy_prob(*args):
return _glpkpi.glp_copy_prob(*args)
glp_copy_prob = _glpkpi.glp_copy_prob
def glp_erase_prob(*args):
return _glpkpi.glp_erase_prob(*args)
glp_erase_prob = _glpkpi.glp_erase_prob
def glp_delete_prob(*args):
return _glpkpi.glp_delete_prob(*args)
glp_delete_prob = _glpkpi.glp_delete_prob
def glp_get_prob_name(*args):
return _glpkpi.glp_get_prob_name(*args)
glp_get_prob_name = _glpkpi.glp_get_prob_name
def glp_get_obj_name(*args):
return _glpkpi.glp_get_obj_name(*args)
glp_get_obj_name = _glpkpi.glp_get_obj_name
def glp_get_obj_dir(*args):
return _glpkpi.glp_get_obj_dir(*args)
glp_get_obj_dir = _glpkpi.glp_get_obj_dir
def glp_get_num_rows(*args):
return _glpkpi.glp_get_num_rows(*args)
glp_get_num_rows = _glpkpi.glp_get_num_rows
def glp_get_num_cols(*args):
return _glpkpi.glp_get_num_cols(*args)
glp_get_num_cols = _glpkpi.glp_get_num_cols
def glp_get_row_name(*args):
return _glpkpi.glp_get_row_name(*args)
glp_get_row_name = _glpkpi.glp_get_row_name
def glp_get_col_name(*args):
return _glpkpi.glp_get_col_name(*args)
glp_get_col_name = _glpkpi.glp_get_col_name
def glp_get_row_type(*args):
return _glpkpi.glp_get_row_type(*args)
glp_get_row_type = _glpkpi.glp_get_row_type
def glp_get_row_lb(*args):
return _glpkpi.glp_get_row_lb(*args)
glp_get_row_lb = _glpkpi.glp_get_row_lb
def glp_get_row_ub(*args):
return _glpkpi.glp_get_row_ub(*args)
glp_get_row_ub = _glpkpi.glp_get_row_ub
def glp_get_col_type(*args):
return _glpkpi.glp_get_col_type(*args)
glp_get_col_type = _glpkpi.glp_get_col_type
def glp_get_col_lb(*args):
return _glpkpi.glp_get_col_lb(*args)
glp_get_col_lb = _glpkpi.glp_get_col_lb
def glp_get_col_ub(*args):
return _glpkpi.glp_get_col_ub(*args)
glp_get_col_ub = _glpkpi.glp_get_col_ub
def glp_get_obj_coef(*args):
return _glpkpi.glp_get_obj_coef(*args)
glp_get_obj_coef = _glpkpi.glp_get_obj_coef
def glp_get_num_nz(*args):
return _glpkpi.glp_get_num_nz(*args)
glp_get_num_nz = _glpkpi.glp_get_num_nz
def glp_get_mat_row(*args):
return _glpkpi.glp_get_mat_row(*args)
glp_get_mat_row = _glpkpi.glp_get_mat_row
def glp_get_mat_col(*args):
return _glpkpi.glp_get_mat_col(*args)
glp_get_mat_col = _glpkpi.glp_get_mat_col
def glp_create_index(*args):
return _glpkpi.glp_create_index(*args)
glp_create_index = _glpkpi.glp_create_index
def glp_find_row(*args):
return _glpkpi.glp_find_row(*args)
glp_find_row = _glpkpi.glp_find_row
def glp_find_col(*args):
return _glpkpi.glp_find_col(*args)
glp_find_col = _glpkpi.glp_find_col
def glp_delete_index(*args):
return _glpkpi.glp_delete_index(*args)
glp_delete_index = _glpkpi.glp_delete_index
def glp_set_rii(*args):
return _glpkpi.glp_set_rii(*args)
glp_set_rii = _glpkpi.glp_set_rii
def glp_set_sjj(*args):
return _glpkpi.glp_set_sjj(*args)
glp_set_sjj = _glpkpi.glp_set_sjj
def glp_get_rii(*args):
return _glpkpi.glp_get_rii(*args)
glp_get_rii = _glpkpi.glp_get_rii
def glp_get_sjj(*args):
return _glpkpi.glp_get_sjj(*args)
glp_get_sjj = _glpkpi.glp_get_sjj
def glp_scale_prob(*args):
return _glpkpi.glp_scale_prob(*args)
glp_scale_prob = _glpkpi.glp_scale_prob
def glp_unscale_prob(*args):
return _glpkpi.glp_unscale_prob(*args)
glp_unscale_prob = _glpkpi.glp_unscale_prob
def glp_set_row_stat(*args):
return _glpkpi.glp_set_row_stat(*args)
glp_set_row_stat = _glpkpi.glp_set_row_stat
def glp_set_col_stat(*args):
return _glpkpi.glp_set_col_stat(*args)
glp_set_col_stat = _glpkpi.glp_set_col_stat
def glp_std_basis(*args):
return _glpkpi.glp_std_basis(*args)
glp_std_basis = _glpkpi.glp_std_basis
def glp_adv_basis(*args):
return _glpkpi.glp_adv_basis(*args)
glp_adv_basis = _glpkpi.glp_adv_basis
def glp_cpx_basis(*args):
return _glpkpi.glp_cpx_basis(*args)
glp_cpx_basis = _glpkpi.glp_cpx_basis
def glp_simplex(*args):
return _glpkpi.glp_simplex(*args)
glp_simplex = _glpkpi.glp_simplex
def glp_exact(*args):
return _glpkpi.glp_exact(*args)
glp_exact = _glpkpi.glp_exact
def glp_init_smcp(*args):
return _glpkpi.glp_init_smcp(*args)
glp_init_smcp = _glpkpi.glp_init_smcp
def glp_get_status(*args):
return _glpkpi.glp_get_status(*args)
glp_get_status = _glpkpi.glp_get_status
def glp_get_prim_stat(*args):
return _glpkpi.glp_get_prim_stat(*args)
glp_get_prim_stat = _glpkpi.glp_get_prim_stat
def glp_get_dual_stat(*args):
return _glpkpi.glp_get_dual_stat(*args)
glp_get_dual_stat = _glpkpi.glp_get_dual_stat
def glp_get_obj_val(*args):
return _glpkpi.glp_get_obj_val(*args)
glp_get_obj_val = _glpkpi.glp_get_obj_val
def glp_get_row_stat(*args):
return _glpkpi.glp_get_row_stat(*args)
glp_get_row_stat = _glpkpi.glp_get_row_stat
def glp_get_row_prim(*args):
return _glpkpi.glp_get_row_prim(*args)
glp_get_row_prim = _glpkpi.glp_get_row_prim
def glp_get_row_dual(*args):
return _glpkpi.glp_get_row_dual(*args)
glp_get_row_dual = _glpkpi.glp_get_row_dual
def glp_get_col_stat(*args):
return _glpkpi.glp_get_col_stat(*args)
glp_get_col_stat = _glpkpi.glp_get_col_stat
def glp_get_col_prim(*args):
return _glpkpi.glp_get_col_prim(*args)
glp_get_col_prim = _glpkpi.glp_get_col_prim
def glp_get_col_dual(*args):
return _glpkpi.glp_get_col_dual(*args)
glp_get_col_dual = _glpkpi.glp_get_col_dual
def glp_get_unbnd_ray(*args):
return _glpkpi.glp_get_unbnd_ray(*args)
glp_get_unbnd_ray = _glpkpi.glp_get_unbnd_ray
def glp_interior(*args):
return _glpkpi.glp_interior(*args)
glp_interior = _glpkpi.glp_interior
def glp_init_iptcp(*args):
return _glpkpi.glp_init_iptcp(*args)
glp_init_iptcp = _glpkpi.glp_init_iptcp
def glp_ipt_status(*args):
return _glpkpi.glp_ipt_status(*args)
glp_ipt_status = _glpkpi.glp_ipt_status
def glp_ipt_obj_val(*args):
return _glpkpi.glp_ipt_obj_val(*args)
glp_ipt_obj_val = _glpkpi.glp_ipt_obj_val
def glp_ipt_row_prim(*args):
return _glpkpi.glp_ipt_row_prim(*args)
glp_ipt_row_prim = _glpkpi.glp_ipt_row_prim
def glp_ipt_row_dual(*args):
return _glpkpi.glp_ipt_row_dual(*args)
glp_ipt_row_dual = _glpkpi.glp_ipt_row_dual
def glp_ipt_col_prim(*args):
return _glpkpi.glp_ipt_col_prim(*args)
glp_ipt_col_prim = _glpkpi.glp_ipt_col_prim
def glp_ipt_col_dual(*args):
return _glpkpi.glp_ipt_col_dual(*args)
glp_ipt_col_dual = _glpkpi.glp_ipt_col_dual
def glp_set_col_kind(*args):
return _glpkpi.glp_set_col_kind(*args)
glp_set_col_kind = _glpkpi.glp_set_col_kind
def glp_get_col_kind(*args):
return _glpkpi.glp_get_col_kind(*args)
glp_get_col_kind = _glpkpi.glp_get_col_kind
def glp_get_num_int(*args):
return _glpkpi.glp_get_num_int(*args)
glp_get_num_int = _glpkpi.glp_get_num_int
def glp_get_num_bin(*args):
return _glpkpi.glp_get_num_bin(*args)
glp_get_num_bin = _glpkpi.glp_get_num_bin
def glp_intopt(*args):
return _glpkpi.glp_intopt(*args)
glp_intopt = _glpkpi.glp_intopt
def glp_init_iocp(*args):
return _glpkpi.glp_init_iocp(*args)
glp_init_iocp = _glpkpi.glp_init_iocp
def glp_mip_status(*args):
return _glpkpi.glp_mip_status(*args)
glp_mip_status = _glpkpi.glp_mip_status
def glp_mip_obj_val(*args):
return _glpkpi.glp_mip_obj_val(*args)
glp_mip_obj_val = _glpkpi.glp_mip_obj_val
def glp_mip_row_val(*args):
return _glpkpi.glp_mip_row_val(*args)
glp_mip_row_val = _glpkpi.glp_mip_row_val
def glp_mip_col_val(*args):
return _glpkpi.glp_mip_col_val(*args)
glp_mip_col_val = _glpkpi.glp_mip_col_val
def glp_check_kkt(*args):
return _glpkpi.glp_check_kkt(*args)
glp_check_kkt = _glpkpi.glp_check_kkt
def glp_print_sol(*args):
return _glpkpi.glp_print_sol(*args)
glp_print_sol = _glpkpi.glp_print_sol
def glp_read_sol(*args):
return _glpkpi.glp_read_sol(*args)
glp_read_sol = _glpkpi.glp_read_sol
def glp_write_sol(*args):
return _glpkpi.glp_write_sol(*args)
glp_write_sol = _glpkpi.glp_write_sol
def glp_print_ranges(*args):
return _glpkpi.glp_print_ranges(*args)
glp_print_ranges = _glpkpi.glp_print_ranges
def glp_print_ipt(*args):
return _glpkpi.glp_print_ipt(*args)
glp_print_ipt = _glpkpi.glp_print_ipt
def glp_read_ipt(*args):
return _glpkpi.glp_read_ipt(*args)
glp_read_ipt = _glpkpi.glp_read_ipt
def glp_write_ipt(*args):
return _glpkpi.glp_write_ipt(*args)
glp_write_ipt = _glpkpi.glp_write_ipt
def glp_print_mip(*args):
return _glpkpi.glp_print_mip(*args)
glp_print_mip = _glpkpi.glp_print_mip
def glp_read_mip(*args):
return _glpkpi.glp_read_mip(*args)
glp_read_mip = _glpkpi.glp_read_mip
def glp_write_mip(*args):
return _glpkpi.glp_write_mip(*args)
glp_write_mip = _glpkpi.glp_write_mip
def glp_bf_exists(*args):
return _glpkpi.glp_bf_exists(*args)
glp_bf_exists = _glpkpi.glp_bf_exists
def glp_factorize(*args):
return _glpkpi.glp_factorize(*args)
glp_factorize = _glpkpi.glp_factorize
def glp_bf_updated(*args):
return _glpkpi.glp_bf_updated(*args)
glp_bf_updated = _glpkpi.glp_bf_updated
def glp_get_bfcp(*args):
return _glpkpi.glp_get_bfcp(*args)
glp_get_bfcp = _glpkpi.glp_get_bfcp
def glp_set_bfcp(*args):
return _glpkpi.glp_set_bfcp(*args)
glp_set_bfcp = _glpkpi.glp_set_bfcp
def glp_get_bhead(*args):
return _glpkpi.glp_get_bhead(*args)
glp_get_bhead = _glpkpi.glp_get_bhead
def glp_get_row_bind(*args):
return _glpkpi.glp_get_row_bind(*args)
glp_get_row_bind = _glpkpi.glp_get_row_bind
def glp_get_col_bind(*args):
return _glpkpi.glp_get_col_bind(*args)
glp_get_col_bind = _glpkpi.glp_get_col_bind
def glp_ftran(*args):
return _glpkpi.glp_ftran(*args)
glp_ftran = _glpkpi.glp_ftran
def glp_btran(*args):
return _glpkpi.glp_btran(*args)
glp_btran = _glpkpi.glp_btran
def glp_warm_up(*args):
return _glpkpi.glp_warm_up(*args)
glp_warm_up = _glpkpi.glp_warm_up
def glp_eval_tab_row(*args):
return _glpkpi.glp_eval_tab_row(*args)
glp_eval_tab_row = _glpkpi.glp_eval_tab_row
def glp_eval_tab_col(*args):
return _glpkpi.glp_eval_tab_col(*args)
glp_eval_tab_col = _glpkpi.glp_eval_tab_col
def glp_transform_row(*args):
return _glpkpi.glp_transform_row(*args)
glp_transform_row = _glpkpi.glp_transform_row
def glp_transform_col(*args):
return _glpkpi.glp_transform_col(*args)
glp_transform_col = _glpkpi.glp_transform_col
def glp_prim_rtest(*args):
return _glpkpi.glp_prim_rtest(*args)
glp_prim_rtest = _glpkpi.glp_prim_rtest
def glp_dual_rtest(*args):
return _glpkpi.glp_dual_rtest(*args)
glp_dual_rtest = _glpkpi.glp_dual_rtest
def glp_analyze_bound(*args):
return _glpkpi.glp_analyze_bound(*args)
glp_analyze_bound = _glpkpi.glp_analyze_bound
def glp_analyze_coef(*args):
return _glpkpi.glp_analyze_coef(*args)
glp_analyze_coef = _glpkpi.glp_analyze_coef
def glp_ios_reason(*args):
return _glpkpi.glp_ios_reason(*args)
glp_ios_reason = _glpkpi.glp_ios_reason
def glp_ios_get_prob(*args):
return _glpkpi.glp_ios_get_prob(*args)
glp_ios_get_prob = _glpkpi.glp_ios_get_prob
def glp_ios_tree_size(*args):
return _glpkpi.glp_ios_tree_size(*args)
glp_ios_tree_size = _glpkpi.glp_ios_tree_size
def glp_ios_curr_node(*args):
return _glpkpi.glp_ios_curr_node(*args)
glp_ios_curr_node = _glpkpi.glp_ios_curr_node
def glp_ios_next_node(*args):
return _glpkpi.glp_ios_next_node(*args)
glp_ios_next_node = _glpkpi.glp_ios_next_node
def glp_ios_prev_node(*args):
return _glpkpi.glp_ios_prev_node(*args)
glp_ios_prev_node = _glpkpi.glp_ios_prev_node
def glp_ios_up_node(*args):
return _glpkpi.glp_ios_up_node(*args)
glp_ios_up_node = _glpkpi.glp_ios_up_node
def glp_ios_node_level(*args):
return _glpkpi.glp_ios_node_level(*args)
glp_ios_node_level = _glpkpi.glp_ios_node_level
def glp_ios_node_bound(*args):
return _glpkpi.glp_ios_node_bound(*args)
glp_ios_node_bound = _glpkpi.glp_ios_node_bound
def glp_ios_best_node(*args):
return _glpkpi.glp_ios_best_node(*args)
glp_ios_best_node = _glpkpi.glp_ios_best_node
def glp_ios_mip_gap(*args):
return _glpkpi.glp_ios_mip_gap(*args)
glp_ios_mip_gap = _glpkpi.glp_ios_mip_gap
def glp_ios_node_data(*args):
return _glpkpi.glp_ios_node_data(*args)
glp_ios_node_data = _glpkpi.glp_ios_node_data
def glp_ios_row_attr(*args):
return _glpkpi.glp_ios_row_attr(*args)
glp_ios_row_attr = _glpkpi.glp_ios_row_attr
def glp_ios_pool_size(*args):
return _glpkpi.glp_ios_pool_size(*args)
glp_ios_pool_size = _glpkpi.glp_ios_pool_size
def glp_ios_add_row(*args):
return _glpkpi.glp_ios_add_row(*args)
glp_ios_add_row = _glpkpi.glp_ios_add_row
def glp_ios_del_row(*args):
return _glpkpi.glp_ios_del_row(*args)
glp_ios_del_row = _glpkpi.glp_ios_del_row
def glp_ios_clear_pool(*args):
return _glpkpi.glp_ios_clear_pool(*args)
glp_ios_clear_pool = _glpkpi.glp_ios_clear_pool
def glp_ios_can_branch(*args):
return _glpkpi.glp_ios_can_branch(*args)
glp_ios_can_branch = _glpkpi.glp_ios_can_branch
def glp_ios_branch_upon(*args):
return _glpkpi.glp_ios_branch_upon(*args)
glp_ios_branch_upon = _glpkpi.glp_ios_branch_upon
def glp_ios_select_node(*args):
return _glpkpi.glp_ios_select_node(*args)
glp_ios_select_node = _glpkpi.glp_ios_select_node
def glp_ios_heur_sol(*args):
return _glpkpi.glp_ios_heur_sol(*args)
glp_ios_heur_sol = _glpkpi.glp_ios_heur_sol
def glp_ios_terminate(*args):
return _glpkpi.glp_ios_terminate(*args)
glp_ios_terminate = _glpkpi.glp_ios_terminate
def glp_init_mpscp(*args):
return _glpkpi.glp_init_mpscp(*args)
glp_init_mpscp = _glpkpi.glp_init_mpscp
def glp_read_mps(*args):
return _glpkpi.glp_read_mps(*args)
glp_read_mps = _glpkpi.glp_read_mps
def glp_write_mps(*args):
return _glpkpi.glp_write_mps(*args)
glp_write_mps = _glpkpi.glp_write_mps
def glp_init_cpxcp(*args):
return _glpkpi.glp_init_cpxcp(*args)
glp_init_cpxcp = _glpkpi.glp_init_cpxcp
def glp_read_lp(*args):
return _glpkpi.glp_read_lp(*args)
glp_read_lp = _glpkpi.glp_read_lp
def glp_write_lp(*args):
return _glpkpi.glp_write_lp(*args)
glp_write_lp = _glpkpi.glp_write_lp
def glp_read_prob(*args):
return _glpkpi.glp_read_prob(*args)
glp_read_prob = _glpkpi.glp_read_prob
def glp_write_prob(*args):
return _glpkpi.glp_write_prob(*args)
glp_write_prob = _glpkpi.glp_write_prob
def glp_mpl_alloc_wksp():
return _glpkpi.glp_mpl_alloc_wksp()
glp_mpl_alloc_wksp = _glpkpi.glp_mpl_alloc_wksp
def glp_mpl_read_model(*args):
return _glpkpi.glp_mpl_read_model(*args)
glp_mpl_read_model = _glpkpi.glp_mpl_read_model
def glp_mpl_read_data(*args):
return _glpkpi.glp_mpl_read_data(*args)
glp_mpl_read_data = _glpkpi.glp_mpl_read_data
def glp_mpl_generate(*args):
return _glpkpi.glp_mpl_generate(*args)
glp_mpl_generate = _glpkpi.glp_mpl_generate
def glp_mpl_build_prob(*args):
return _glpkpi.glp_mpl_build_prob(*args)
glp_mpl_build_prob = _glpkpi.glp_mpl_build_prob
def glp_mpl_postsolve(*args):
return _glpkpi.glp_mpl_postsolve(*args)
glp_mpl_postsolve = _glpkpi.glp_mpl_postsolve
def glp_mpl_free_wksp(*args):
return _glpkpi.glp_mpl_free_wksp(*args)
glp_mpl_free_wksp = _glpkpi.glp_mpl_free_wksp
def glp_main(*args):
return _glpkpi.glp_main(*args)
glp_main = _glpkpi.glp_main
def glp_read_cnfsat(*args):
return _glpkpi.glp_read_cnfsat(*args)
glp_read_cnfsat = _glpkpi.glp_read_cnfsat
def glp_check_cnfsat(*args):
return _glpkpi.glp_check_cnfsat(*args)
glp_check_cnfsat = _glpkpi.glp_check_cnfsat
def glp_write_cnfsat(*args):
return _glpkpi.glp_write_cnfsat(*args)
glp_write_cnfsat = _glpkpi.glp_write_cnfsat
def glp_minisat1(*args):
return _glpkpi.glp_minisat1(*args)
glp_minisat1 = _glpkpi.glp_minisat1
def glp_intfeas1(*args):
return _glpkpi.glp_intfeas1(*args)
glp_intfeas1 = _glpkpi.glp_intfeas1
def glp_init_env():
return _glpkpi.glp_init_env()
glp_init_env = _glpkpi.glp_init_env
def glp_version():
return _glpkpi.glp_version()
glp_version = _glpkpi.glp_version
def glp_free_env():
return _glpkpi.glp_free_env()
glp_free_env = _glpkpi.glp_free_env
def glp_puts(*args):
return _glpkpi.glp_puts(*args)
glp_puts = _glpkpi.glp_puts
def glp_term_out(*args):
return _glpkpi.glp_term_out(*args)
glp_term_out = _glpkpi.glp_term_out
def glp_term_hook(*args):
return _glpkpi.glp_term_hook(*args)
glp_term_hook = _glpkpi.glp_term_hook
def glp_open_tee(*args):
return _glpkpi.glp_open_tee(*args)
glp_open_tee = _glpkpi.glp_open_tee
def glp_close_tee():
return _glpkpi.glp_close_tee()
glp_close_tee = _glpkpi.glp_close_tee
def glp_error_(*args):
return _glpkpi.glp_error_(*args)
glp_error_ = _glpkpi.glp_error_
def glp_assert_(*args):
return _glpkpi.glp_assert_(*args)
glp_assert_ = _glpkpi.glp_assert_
def glp_error_hook(*args):
return _glpkpi.glp_error_hook(*args)
glp_error_hook = _glpkpi.glp_error_hook
def glp_alloc(*args):
return _glpkpi.glp_alloc(*args)
glp_alloc = _glpkpi.glp_alloc
def glp_realloc(*args):
return _glpkpi.glp_realloc(*args)
glp_realloc = _glpkpi.glp_realloc
def glp_free(*args):
return _glpkpi.glp_free(*args)
glp_free = _glpkpi.glp_free
def glp_mem_limit(*args):
return _glpkpi.glp_mem_limit(*args)
glp_mem_limit = _glpkpi.glp_mem_limit
def glp_mem_usage(*args):
return _glpkpi.glp_mem_usage(*args)
glp_mem_usage = _glpkpi.glp_mem_usage
class glp_graph(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, glp_graph, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, glp_graph, name)
__repr__ = _swig_repr
__swig_setmethods__["pool"] = _glpkpi.glp_graph_pool_set
__swig_getmethods__["pool"] = _glpkpi.glp_graph_pool_get
if _newclass:pool = _swig_property(_glpkpi.glp_graph_pool_get, _glpkpi.glp_graph_pool_set)
__swig_setmethods__["name"] = _glpkpi.glp_graph_name_set
__swig_getmethods__["name"] = _glpkpi.glp_graph_name_get
if _newclass:name = _swig_property(_glpkpi.glp_graph_name_get, _glpkpi.glp_graph_name_set)
__swig_setmethods__["nv_max"] = _glpkpi.glp_graph_nv_max_set
__swig_getmethods__["nv_max"] = _glpkpi.glp_graph_nv_max_get
if _newclass:nv_max = _swig_property(_glpkpi.glp_graph_nv_max_get, _glpkpi.glp_graph_nv_max_set)
__swig_setmethods__["nv"] = _glpkpi.glp_graph_nv_set
__swig_getmethods__["nv"] = _glpkpi.glp_graph_nv_get
if _newclass:nv = _swig_property(_glpkpi.glp_graph_nv_get, _glpkpi.glp_graph_nv_set)
__swig_setmethods__["na"] = _glpkpi.glp_graph_na_set
__swig_getmethods__["na"] = _glpkpi.glp_graph_na_get
if _newclass:na = _swig_property(_glpkpi.glp_graph_na_get, _glpkpi.glp_graph_na_set)
__swig_setmethods__["v"] = _glpkpi.glp_graph_v_set
__swig_getmethods__["v"] = _glpkpi.glp_graph_v_get
if _newclass:v = _swig_property(_glpkpi.glp_graph_v_get, _glpkpi.glp_graph_v_set)
__swig_setmethods__["index"] = _glpkpi.glp_graph_index_set
__swig_getmethods__["index"] = _glpkpi.glp_graph_index_get
if _newclass:index = _swig_property(_glpkpi.glp_graph_index_get, _glpkpi.glp_graph_index_set)
__swig_setmethods__["v_size"] = _glpkpi.glp_graph_v_size_set
__swig_getmethods__["v_size"] = _glpkpi.glp_graph_v_size_get
if _newclass:v_size = _swig_property(_glpkpi.glp_graph_v_size_get, _glpkpi.glp_graph_v_size_set)
__swig_setmethods__["a_size"] = _glpkpi.glp_graph_a_size_set
__swig_getmethods__["a_size"] = _glpkpi.glp_graph_a_size_get
if _newclass:a_size = _swig_property(_glpkpi.glp_graph_a_size_get, _glpkpi.glp_graph_a_size_set)
def __init__(self):
this = _glpkpi.new_glp_graph()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_glp_graph
__del__ = lambda self : None;
glp_graph_swigregister = _glpkpi.glp_graph_swigregister
glp_graph_swigregister(glp_graph)
class glp_vertex(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, glp_vertex, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, glp_vertex, name)
__repr__ = _swig_repr
__swig_setmethods__["i"] = _glpkpi.glp_vertex_i_set
__swig_getmethods__["i"] = _glpkpi.glp_vertex_i_get
if _newclass:i = _swig_property(_glpkpi.glp_vertex_i_get, _glpkpi.glp_vertex_i_set)
__swig_setmethods__["name"] = _glpkpi.glp_vertex_name_set
__swig_getmethods__["name"] = _glpkpi.glp_vertex_name_get
if _newclass:name = _swig_property(_glpkpi.glp_vertex_name_get, _glpkpi.glp_vertex_name_set)
__swig_setmethods__["entry"] = _glpkpi.glp_vertex_entry_set
__swig_getmethods__["entry"] = _glpkpi.glp_vertex_entry_get
if _newclass:entry = _swig_property(_glpkpi.glp_vertex_entry_get, _glpkpi.glp_vertex_entry_set)
__swig_setmethods__["data"] = _glpkpi.glp_vertex_data_set
__swig_getmethods__["data"] = _glpkpi.glp_vertex_data_get
if _newclass:data = _swig_property(_glpkpi.glp_vertex_data_get, _glpkpi.glp_vertex_data_set)
__swig_setmethods__["temp"] = _glpkpi.glp_vertex_temp_set
__swig_getmethods__["temp"] = _glpkpi.glp_vertex_temp_get
if _newclass:temp = _swig_property(_glpkpi.glp_vertex_temp_get, _glpkpi.glp_vertex_temp_set)
__swig_setmethods__["_in"] = _glpkpi.glp_vertex__in_set
__swig_getmethods__["_in"] = _glpkpi.glp_vertex__in_get
if _newclass:_in = _swig_property(_glpkpi.glp_vertex__in_get, _glpkpi.glp_vertex__in_set)
__swig_setmethods__["out"] = _glpkpi.glp_vertex_out_set
__swig_getmethods__["out"] = _glpkpi.glp_vertex_out_get
if _newclass:out = _swig_property(_glpkpi.glp_vertex_out_get, _glpkpi.glp_vertex_out_set)
def __init__(self):
this = _glpkpi.new_glp_vertex()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_glp_vertex
__del__ = lambda self : None;
glp_vertex_swigregister = _glpkpi.glp_vertex_swigregister
glp_vertex_swigregister(glp_vertex)
class glp_arc(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, glp_arc, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, glp_arc, name)
__repr__ = _swig_repr
__swig_setmethods__["tail"] = _glpkpi.glp_arc_tail_set
__swig_getmethods__["tail"] = _glpkpi.glp_arc_tail_get
if _newclass:tail = _swig_property(_glpkpi.glp_arc_tail_get, _glpkpi.glp_arc_tail_set)
__swig_setmethods__["head"] = _glpkpi.glp_arc_head_set
__swig_getmethods__["head"] = _glpkpi.glp_arc_head_get
if _newclass:head = _swig_property(_glpkpi.glp_arc_head_get, _glpkpi.glp_arc_head_set)
__swig_setmethods__["data"] = _glpkpi.glp_arc_data_set
__swig_getmethods__["data"] = _glpkpi.glp_arc_data_get
if _newclass:data = _swig_property(_glpkpi.glp_arc_data_get, _glpkpi.glp_arc_data_set)
__swig_setmethods__["temp"] = _glpkpi.glp_arc_temp_set
__swig_getmethods__["temp"] = _glpkpi.glp_arc_temp_get
if _newclass:temp = _swig_property(_glpkpi.glp_arc_temp_get, _glpkpi.glp_arc_temp_set)
__swig_setmethods__["t_prev"] = _glpkpi.glp_arc_t_prev_set
__swig_getmethods__["t_prev"] = _glpkpi.glp_arc_t_prev_get
if _newclass:t_prev = _swig_property(_glpkpi.glp_arc_t_prev_get, _glpkpi.glp_arc_t_prev_set)
__swig_setmethods__["t_next"] = _glpkpi.glp_arc_t_next_set
__swig_getmethods__["t_next"] = _glpkpi.glp_arc_t_next_get
if _newclass:t_next = _swig_property(_glpkpi.glp_arc_t_next_get, _glpkpi.glp_arc_t_next_set)
__swig_setmethods__["h_prev"] = _glpkpi.glp_arc_h_prev_set
__swig_getmethods__["h_prev"] = _glpkpi.glp_arc_h_prev_get
if _newclass:h_prev = _swig_property(_glpkpi.glp_arc_h_prev_get, _glpkpi.glp_arc_h_prev_set)
__swig_setmethods__["h_next"] = _glpkpi.glp_arc_h_next_set
__swig_getmethods__["h_next"] = _glpkpi.glp_arc_h_next_get
if _newclass:h_next = _swig_property(_glpkpi.glp_arc_h_next_get, _glpkpi.glp_arc_h_next_set)
def __init__(self):
this = _glpkpi.new_glp_arc()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _glpkpi.delete_glp_arc
__del__ = lambda self : None;
glp_arc_swigregister = _glpkpi.glp_arc_swigregister
glp_arc_swigregister(glp_arc)
def glp_create_graph(*args):
return _glpkpi.glp_create_graph(*args)
glp_create_graph = _glpkpi.glp_create_graph
def glp_set_graph_name(*args):
return _glpkpi.glp_set_graph_name(*args)
glp_set_graph_name = _glpkpi.glp_set_graph_name
def glp_add_vertices(*args):
return _glpkpi.glp_add_vertices(*args)
glp_add_vertices = _glpkpi.glp_add_vertices
def glp_set_vertex_name(*args):
return _glpkpi.glp_set_vertex_name(*args)
glp_set_vertex_name = _glpkpi.glp_set_vertex_name
def glp_add_arc(*args):
return _glpkpi.glp_add_arc(*args)
glp_add_arc = _glpkpi.glp_add_arc
def glp_del_vertices(*args):
return _glpkpi.glp_del_vertices(*args)
glp_del_vertices = _glpkpi.glp_del_vertices
def glp_del_arc(*args):
return _glpkpi.glp_del_arc(*args)
glp_del_arc = _glpkpi.glp_del_arc
def glp_erase_graph(*args):
return _glpkpi.glp_erase_graph(*args)
glp_erase_graph = _glpkpi.glp_erase_graph
def glp_delete_graph(*args):
return _glpkpi.glp_delete_graph(*args)
glp_delete_graph = _glpkpi.glp_delete_graph
def glp_create_v_index(*args):
return _glpkpi.glp_create_v_index(*args)
glp_create_v_index = _glpkpi.glp_create_v_index
def glp_find_vertex(*args):
return _glpkpi.glp_find_vertex(*args)
glp_find_vertex = _glpkpi.glp_find_vertex
def glp_delete_v_index(*args):
return _glpkpi.glp_delete_v_index(*args)
glp_delete_v_index = _glpkpi.glp_delete_v_index
def glp_read_graph(*args):
return _glpkpi.glp_read_graph(*args)
glp_read_graph = _glpkpi.glp_read_graph
def glp_write_graph(*args):
return _glpkpi.glp_write_graph(*args)
glp_write_graph = _glpkpi.glp_write_graph
def glp_mincost_lp(*args):
return _glpkpi.glp_mincost_lp(*args)
glp_mincost_lp = _glpkpi.glp_mincost_lp
def glp_mincost_okalg(*args):
return _glpkpi.glp_mincost_okalg(*args)
glp_mincost_okalg = _glpkpi.glp_mincost_okalg
def glp_mincost_relax4(*args):
return _glpkpi.glp_mincost_relax4(*args)
glp_mincost_relax4 = _glpkpi.glp_mincost_relax4
def glp_maxflow_lp(*args):
return _glpkpi.glp_maxflow_lp(*args)
glp_maxflow_lp = _glpkpi.glp_maxflow_lp
def glp_maxflow_ffalg(*args):
return _glpkpi.glp_maxflow_ffalg(*args)
glp_maxflow_ffalg = _glpkpi.glp_maxflow_ffalg
def glp_check_asnprob(*args):
return _glpkpi.glp_check_asnprob(*args)
glp_check_asnprob = _glpkpi.glp_check_asnprob
GLP_ASN_MIN = _glpkpi.GLP_ASN_MIN
GLP_ASN_MAX = _glpkpi.GLP_ASN_MAX
GLP_ASN_MMP = _glpkpi.GLP_ASN_MMP
def glp_asnprob_lp(*args):
return _glpkpi.glp_asnprob_lp(*args)
glp_asnprob_lp = _glpkpi.glp_asnprob_lp
def glp_asnprob_okalg(*args):
return _glpkpi.glp_asnprob_okalg(*args)
glp_asnprob_okalg = _glpkpi.glp_asnprob_okalg
def glp_asnprob_hall(*args):
return _glpkpi.glp_asnprob_hall(*args)
glp_asnprob_hall = _glpkpi.glp_asnprob_hall
def glp_cpp(*args):
return _glpkpi.glp_cpp(*args)
glp_cpp = _glpkpi.glp_cpp
def glp_read_mincost(*args):
return _glpkpi.glp_read_mincost(*args)
glp_read_mincost = _glpkpi.glp_read_mincost
def glp_write_mincost(*args):
return _glpkpi.glp_write_mincost(*args)
glp_write_mincost = _glpkpi.glp_write_mincost
def glp_read_maxflow(*args):
return _glpkpi.glp_read_maxflow(*args)
glp_read_maxflow = _glpkpi.glp_read_maxflow
def glp_write_maxflow(*args):
return _glpkpi.glp_write_maxflow(*args)
glp_write_maxflow = _glpkpi.glp_write_maxflow
def glp_read_asnprob(*args):
return _glpkpi.glp_read_asnprob(*args)
glp_read_asnprob = _glpkpi.glp_read_asnprob
def glp_write_asnprob(*args):
return _glpkpi.glp_write_asnprob(*args)
glp_write_asnprob = _glpkpi.glp_write_asnprob
def glp_read_ccdata(*args):
return _glpkpi.glp_read_ccdata(*args)
glp_read_ccdata = _glpkpi.glp_read_ccdata
def glp_write_ccdata(*args):
return _glpkpi.glp_write_ccdata(*args)
glp_write_ccdata = _glpkpi.glp_write_ccdata
def glp_netgen(*args):
return _glpkpi.glp_netgen(*args)
glp_netgen = _glpkpi.glp_netgen
def glp_netgen_prob(*args):
return _glpkpi.glp_netgen_prob(*args)
glp_netgen_prob = _glpkpi.glp_netgen_prob
def glp_gridgen(*args):
return _glpkpi.glp_gridgen(*args)
glp_gridgen = _glpkpi.glp_gridgen
def glp_rmfgen(*args):
return _glpkpi.glp_rmfgen(*args)
glp_rmfgen = _glpkpi.glp_rmfgen
def glp_weak_comp(*args):
return _glpkpi.glp_weak_comp(*args)
glp_weak_comp = _glpkpi.glp_weak_comp
def glp_strong_comp(*args):
return _glpkpi.glp_strong_comp(*args)
glp_strong_comp = _glpkpi.glp_strong_comp
def glp_top_sort(*args):
return _glpkpi.glp_top_sort(*args)
glp_top_sort = _glpkpi.glp_top_sort
def glp_wclique_exact(*args):
return _glpkpi.glp_wclique_exact(*args)
glp_wclique_exact = _glpkpi.glp_wclique_exact
# This file is compatible with both classic and new-style classes.
|