PySCIPOpt 5.5.0__tar.gz → 5.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/PKG-INFO +13 -2
  2. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/PySCIPOpt.egg-info/PKG-INFO +13 -2
  3. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/PySCIPOpt.egg-info/SOURCES.txt +1 -0
  4. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/README.md +12 -1
  5. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/pyproject.toml +18 -9
  6. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/setup.py +1 -1
  7. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/__init__.py +1 -0
  8. pyscipopt-5.6.0/src/pyscipopt/_version.py +1 -0
  9. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/scip.c +45923 -36823
  10. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/scip.pxd +81 -35
  11. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/scip.pxi +719 -113
  12. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_bipartite.py +0 -2
  13. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_branch_probing_lp.py +0 -2
  14. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_cons.py +71 -2
  15. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_conshdlr.py +44 -17
  16. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_model.py +12 -2
  17. pyscipopt-5.6.0/tests/test_numerics.py +20 -0
  18. pyscipopt-5.5.0/src/pyscipopt/_version.py +0 -1
  19. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/LICENSE +0 -0
  20. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/PySCIPOpt.egg-info/dependency_links.txt +0 -0
  21. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/PySCIPOpt.egg-info/requires.txt +0 -0
  22. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/PySCIPOpt.egg-info/top_level.txt +0 -0
  23. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/setup.cfg +0 -0
  24. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/Multidict.py +0 -0
  25. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/benders.pxi +0 -0
  26. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/benderscut.pxi +0 -0
  27. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/branchrule.pxi +0 -0
  28. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/conshdlr.pxi +0 -0
  29. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/cutsel.pxi +0 -0
  30. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/event.pxi +0 -0
  31. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/expr.pxi +0 -0
  32. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/heuristic.pxi +0 -0
  33. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/lp.pxi +0 -0
  34. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/matrix.pxi +0 -0
  35. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/nodesel.pxi +0 -0
  36. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/presol.pxi +0 -0
  37. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/pricer.pxi +0 -0
  38. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/propagator.pxi +0 -0
  39. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/reader.pxi +0 -0
  40. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/recipes/__init__.py +0 -0
  41. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/recipes/infeasibilities.py +0 -0
  42. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/recipes/nonlinear.py +0 -0
  43. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/recipes/piecewise.py +0 -0
  44. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/recipes/primal_dual_evolution.py +0 -0
  45. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/relax.pxi +0 -0
  46. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/scip.pyx +0 -0
  47. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/src/pyscipopt/sepa.pxi +0 -0
  48. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_alldiff.py +0 -0
  49. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_benders.py +0 -0
  50. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_branch_mostinfeas.py +0 -0
  51. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_copy.py +0 -0
  52. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_customizedbenders.py +0 -0
  53. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_cutsel.py +0 -0
  54. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_event.py +0 -0
  55. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_expr.py +0 -0
  56. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_gomory.py +0 -0
  57. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_heur.py +0 -0
  58. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_knapsack.py +0 -0
  59. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_linexpr.py +0 -0
  60. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_logical.py +0 -0
  61. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_lp.py +0 -0
  62. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_matrix_variable.py +0 -0
  63. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_memory.py +0 -0
  64. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_nlrow.py +0 -0
  65. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_node.py +0 -0
  66. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_nodesel.py +0 -0
  67. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_nogil.py +0 -0
  68. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_nonlinear.py +0 -0
  69. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_pricer.py +0 -0
  70. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_quadcons.py +0 -0
  71. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_quickprod.py +0 -0
  72. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_quicksum.py +0 -0
  73. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_reader.py +0 -0
  74. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_recipe_infeasibilities.py +0 -0
  75. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_recipe_nonlinear.py +0 -0
  76. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_recipe_piecewise.py +0 -0
  77. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_recipe_primal_dual_evolution.py +0 -0
  78. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_relax.py +0 -0
  79. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_reopt.py +0 -0
  80. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_row_dual.py +0 -0
  81. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_short.py +0 -0
  82. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_solution.py +0 -0
  83. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_strong_branching.py +0 -0
  84. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_sub_sol.py +0 -0
  85. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_tree.py +0 -0
  86. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_tsp.py +0 -0
  87. {pyscipopt-5.5.0 → pyscipopt-5.6.0}/tests/test_vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PySCIPOpt
3
- Version: 5.5.0
3
+ Version: 5.6.0
4
4
  Summary: Python interface and modeling environment for SCIP
5
5
  Home-page: https://github.com/SCIP-Interfaces/PySCIPOpt
6
6
  Author: Zuse Institute Berlin
@@ -47,10 +47,21 @@ See [CHANGELOG.md](https://github.com/scipopt/PySCIPOpt/blob/master/CHANGELOG.md
47
47
  Installation
48
48
  ------------
49
49
 
50
- The recommended installation method is via PyPI
50
+ The recommended installation method is via [PyPI](https://pypi.org/project/PySCIPOpt/):
51
+
52
+ ```bash
53
+ pip install pyscipopt
54
+ ```
55
+
56
+ To avoid interfering with system packages, it's best to use a [virtual environment](https://docs.python.org/3/library/venv.html):
57
+
51
58
  ```bash
59
+ python3 -m venv venv # creates a virtual environment called venv
60
+ source venv/bin/activate # activates the environment. On Windows use: venv\Scripts\activate
52
61
  pip install pyscipopt
53
62
  ```
63
+ Remember to activate the environment (`source venv/bin/activate` or equivalent) in each terminal session where you use PySCIPOpt.
64
+ Note that some configurations require the use of virtual environments.
54
65
 
55
66
  For information on specific versions, installation via Conda, and guides for building from source,
56
67
  please see the [online documentation](https://pyscipopt.readthedocs.io/en/latest/install.html).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PySCIPOpt
3
- Version: 5.5.0
3
+ Version: 5.6.0
4
4
  Summary: Python interface and modeling environment for SCIP
5
5
  Home-page: https://github.com/SCIP-Interfaces/PySCIPOpt
6
6
  Author: Zuse Institute Berlin
@@ -47,10 +47,21 @@ See [CHANGELOG.md](https://github.com/scipopt/PySCIPOpt/blob/master/CHANGELOG.md
47
47
  Installation
48
48
  ------------
49
49
 
50
- The recommended installation method is via PyPI
50
+ The recommended installation method is via [PyPI](https://pypi.org/project/PySCIPOpt/):
51
+
52
+ ```bash
53
+ pip install pyscipopt
54
+ ```
55
+
56
+ To avoid interfering with system packages, it's best to use a [virtual environment](https://docs.python.org/3/library/venv.html):
57
+
51
58
  ```bash
59
+ python3 -m venv venv # creates a virtual environment called venv
60
+ source venv/bin/activate # activates the environment. On Windows use: venv\Scripts\activate
52
61
  pip install pyscipopt
53
62
  ```
63
+ Remember to activate the environment (`source venv/bin/activate` or equivalent) in each terminal session where you use PySCIPOpt.
64
+ Note that some configurations require the use of virtual environments.
54
65
 
55
66
  For information on specific versions, installation via Conda, and guides for building from source,
56
67
  please see the [online documentation](https://pyscipopt.readthedocs.io/en/latest/install.html).
@@ -63,6 +63,7 @@ tests/test_node.py
63
63
  tests/test_nodesel.py
64
64
  tests/test_nogil.py
65
65
  tests/test_nonlinear.py
66
+ tests/test_numerics.py
66
67
  tests/test_pricer.py
67
68
  tests/test_quadcons.py
68
69
  tests/test_quickprod.py
@@ -23,10 +23,21 @@ See [CHANGELOG.md](https://github.com/scipopt/PySCIPOpt/blob/master/CHANGELOG.md
23
23
  Installation
24
24
  ------------
25
25
 
26
- The recommended installation method is via PyPI
26
+ The recommended installation method is via [PyPI](https://pypi.org/project/PySCIPOpt/):
27
+
28
+ ```bash
29
+ pip install pyscipopt
30
+ ```
31
+
32
+ To avoid interfering with system packages, it's best to use a [virtual environment](https://docs.python.org/3/library/venv.html):
33
+
27
34
  ```bash
35
+ python3 -m venv venv # creates a virtual environment called venv
36
+ source venv/bin/activate # activates the environment. On Windows use: venv\Scripts\activate
28
37
  pip install pyscipopt
29
38
  ```
39
+ Remember to activate the environment (`source venv/bin/activate` or equivalent) in each terminal session where you use PySCIPOpt.
40
+ Note that some configurations require the use of virtual environments.
30
41
 
31
42
  For information on specific versions, installation via Conda, and guides for building from source,
32
43
  please see the [online documentation](https://pyscipopt.readthedocs.io/en/latest/install.html).
@@ -39,16 +39,25 @@ version = {attr = "pyscipopt._version.__version__"}
39
39
  [tool.cibuildwheel]
40
40
  skip="pp*" # currently doesn't work with PyPy
41
41
  manylinux-x86_64-image = "manylinux_2_28"
42
+ manylinux-aarch64-image = "manylinux_2_28"
42
43
 
43
44
 
44
45
  [tool.cibuildwheel.linux]
45
46
  skip="pp* cp36* cp37* *musllinux*"
46
- before-all = [
47
- "(apt-get update && apt-get install --yes wget) || yum install -y wget zlib libgfortran || brew install wget",
48
- "wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7.0/libscip-linux.zip -O scip.zip",
49
- "unzip scip.zip",
50
- "mv scip_install scip"
51
- ]
47
+ before-all = '''
48
+ #!/bin/bash
49
+ (apt-get update && apt-get install --yes wget) || yum install -y wget zlib libgfortran || brew install wget
50
+ AARCH=$(uname -m)
51
+ echo "------"
52
+ echo $AARCH
53
+ if [[ $AARCH == "aarch64" ]]; then
54
+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8.0/libscip-linux-arm.zip -O scip.zip
55
+ else
56
+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8.0/libscip-linux.zip -O scip.zip
57
+ fi
58
+ unzip scip.zip
59
+ mv scip_install scip
60
+ '''
52
61
  environment = { SCIPOPTDIR="$(pwd)/scip", LD_LIBRARY_PATH="$(pwd)/scip/lib:$LD_LIBRARY_PATH", DYLD_LIBRARY_PATH="$(pwd)/scip/lib:$DYLD_LIBRARY_PATH", PATH="$(pwd)/scip/bin:$PATH", PKG_CONFIG_PATH="$(pwd)/scip/lib/pkgconfig:$PKG_CONFIG_PATH", RELEASE="true"}
53
62
 
54
63
 
@@ -58,10 +67,10 @@ before-all = '''
58
67
  #!/bin/bash
59
68
  brew install wget zlib gcc
60
69
  if [[ $CIBW_ARCHS == *"arm"* ]]; then
61
- wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7.0/libscip-macos-arm.zip -O scip.zip
70
+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8.0/libscip-macos-arm.zip -O scip.zip
62
71
  export MACOSX_DEPLOYMENT_TARGET=14.0
63
72
  else
64
- wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7.0/libscip-macos-intel.zip -O scip.zip
73
+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8.0/libscip-macos-intel.zip -O scip.zip
65
74
  export MACOSX_DEPLOYMENT_TARGET=13.0
66
75
  fi
67
76
  unzip scip.zip
@@ -87,7 +96,7 @@ repair-wheel-command = '''
87
96
  skip="pp* cp36* cp37*"
88
97
  before-all = [
89
98
  "choco install 7zip wget",
90
- "wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7.0/libscip-windows.zip -O scip.zip",
99
+ "wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8.0/libscip-windows.zip -O scip.zip",
91
100
  "\"C:\\Program Files\\7-Zip\\7z.exe\" x \"scip.zip\" -o\"scip-test\"",
92
101
  "mv .\\scip-test\\scip_install .\\test",
93
102
  "mv .\\test .\\scip"
@@ -110,7 +110,7 @@ with open("README.md") as f:
110
110
 
111
111
  setup(
112
112
  name="PySCIPOpt",
113
- version="5.5.0",
113
+ version="5.6.0",
114
114
  description="Python interface and modeling environment for SCIP",
115
115
  long_description=long_description,
116
116
  long_description_content_type="text/markdown",
@@ -48,6 +48,7 @@ from pyscipopt.scip import PY_SCIP_PROPTIMING as SCIP_PROPTIMING
48
48
  from pyscipopt.scip import PY_SCIP_PRESOLTIMING as SCIP_PRESOLTIMING
49
49
  from pyscipopt.scip import PY_SCIP_HEURTIMING as SCIP_HEURTIMING
50
50
  from pyscipopt.scip import PY_SCIP_EVENTTYPE as SCIP_EVENTTYPE
51
+ from pyscipopt.scip import PY_SCIP_LOCKTYPE as SCIP_LOCKTYPE
51
52
  from pyscipopt.scip import PY_SCIP_LPSOLSTAT as SCIP_LPSOLSTAT
52
53
  from pyscipopt.scip import PY_SCIP_BRANCHDIR as SCIP_BRANCHDIR
53
54
  from pyscipopt.scip import PY_SCIP_BENDERSENFOTYPE as SCIP_BENDERSENFOTYPE
@@ -0,0 +1 @@
1
+ __version__ = '5.6.0'