Skip to content

Commit 08d5c05

Browse files
Joao-DionisioCopilotmmghannam
authored
Release 6.1.0 (#1181)
* Add SCIPvarIsActive function and corresponding test for variable activity * Add SCIPaggregateVars function and aggregateVars method for variable aggregation * Add knapsack function for modeling the knapsack problem * Add parameter settings to disable automatic presolvers and propagators in the knapsack model * Add ShiftboundPresolver for variable domain transformation in SCIP * Add tests for Shiftbound presolver with parametrised knapsack instances * Update docstring in shiftbound.py to clarify presolver example and its functionality * Add tests for Model.aggregateVars to verify aggregation functionality * Add test for aggregation infeasibility in binary variables * Remove Shiftbound presolver tests from test_shiftbound.py * Refactor TODO comment in test_isActive to clarify missing test cases for fixed and aggregated variables * Update CHANGELOG to include new features: isActive(), aggregateVars(), and example shiftbound.py * Add tutorial for writing a custom presolver using PySCIPOpt * Add tutorial for presolver plugin to CHANGELOG * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> * Apply suggestions from code review * Clarify comments in the Shiftbound presolver example for better understanding of variable aggregation logic * change file name * wrap new methods and add tests * slight changes in docs and example * add missing method stubs for adjustedVarLb, adjustedVarUb, aggregateVars, isIntegral * Address review comments on presolver PR * Prepare release 6.1.0 for SCIP 10.0.1 * Fix deprecated license configuration in pyproject.toml * correct scipoptsuite-deploy tag * require more recent setuptools * Make license dynamic to support older setuptools --------- Co-authored-by: fvz185 <> Co-authored-by: Copilot <[email protected]> Co-authored-by: Mohammed Ghannam <[email protected]>
1 parent 660db29 commit 08d5c05

File tree

5 files changed

+17
-10
lines changed

5 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## Unreleased
44
### Added
5+
### Fixed
6+
### Changed
7+
### Removed
8+
9+
## 6.1.0 - 2026.01.31
10+
### Added
11+
- Support for SCIP 10.0.1
512
- Added automated script for generating type stubs
613
- Include parameter names in type stubs
714
- Added pre-commit hook for automatic stub regeneration (see `.pre-commit-config.yaml`)

docs/build.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ To download SCIP please either use the pre-built SCIP Optimization Suite availab
2121

2222
* - SCIP
2323
- PySCIPOpt
24+
* - 10.0.1
25+
- 6.1
2426
* - 10.0.0
2527
- 6.0
2628
* - 9.2

pyproject.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ authors = [
1111
dependencies = ['numpy >=1.16.0']
1212
requires-python = ">=3.8"
1313
readme = "README.md"
14-
license = {text = "MIT License"}
1514
classifiers = [
1615
"Development Status :: 4 - Beta",
1716
"Intended Audience :: Education",
1817
"Intended Audience :: Science/Research",
19-
"License :: OSI Approved :: MIT License",
2018
"Programming Language :: Cython",
2119
"Programming Language :: Python :: 3",
2220
"Topic :: Scientific/Engineering :: Mathematics",
2321
]
24-
dynamic = ["version"]
22+
dynamic = ["version", "license"]
2523

2624
[project.urls]
2725
Homepage = "https://github.com/SCIP-Interfaces/PySCIPOpt"
@@ -51,9 +49,9 @@ AARCH=$(uname -m)
5149
echo "------"
5250
echo $AARCH
5351
if [[ $AARCH == "aarch64" ]]; then
54-
wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.10.0/libscip-linux-arm.zip -O scip.zip
52+
wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.11.0/libscip-linux-arm.zip -O scip.zip
5553
else
56-
wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.10.0/libscip-linux.zip -O scip.zip
54+
wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.11.0/libscip-linux.zip -O scip.zip
5755
fi
5856
unzip scip.zip
5957
mv scip_install scip
@@ -67,10 +65,10 @@ before-all = '''
6765
#!/bin/bash
6866
brew install wget zlib gcc
6967
if [[ $CIBW_ARCHS == *"arm"* ]]; then
70-
wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.10.0/libscip-macos-arm.zip -O scip.zip
68+
wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.11.0/libscip-macos-arm.zip -O scip.zip
7169
export MACOSX_DEPLOYMENT_TARGET=14.0
7270
else
73-
wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.10.0/libscip-macos-intel.zip -O scip.zip
71+
wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.11.0/libscip-macos-intel.zip -O scip.zip
7472
export MACOSX_DEPLOYMENT_TARGET=14.0
7573
fi
7674
unzip scip.zip
@@ -96,7 +94,7 @@ repair-wheel-command = '''
9694
skip="pp* cp36* cp37*"
9795
before-all = [
9896
"choco install 7zip wget",
99-
"wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.10.0/libscip-windows.zip -O scip.zip",
97+
"wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.11.0/libscip-windows.zip -O scip.zip",
10098
"\"C:\\Program Files\\7-Zip\\7z.exe\" x \"scip.zip\" -o\"scip-test\"",
10199
"mv .\\scip-test\\scip_install .\\test",
102100
"mv .\\test .\\scip"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133

134134
setup(
135135
name="PySCIPOpt",
136-
version="6.0.0",
136+
version="6.1.0",
137137
description="Python interface and modeling environment for SCIP",
138138
long_description=long_description,
139139
long_description_content_type="text/markdown",

src/pyscipopt/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__: str = '6.0.0'
1+
__version__: str = '6.1.0'

0 commit comments

Comments
 (0)