diff --git a/doc/release_notes.rst b/doc/release_notes.rst index 59b4456f..21c4fb79 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -9,6 +9,7 @@ Upcoming Version * Add ``linopy.breakpoints()`` factory for convenient breakpoint construction from lists, dicts, or keyword arguments. Includes ``breakpoints.segments()`` for disjunctive formulations. * Add the `sphinx-copybutton` to the documentation * Add SOS1 and SOS2 reformulations for solvers not supporting them. +* Enable quadratic problems with SCIP on windows. Version 0.6.4 diff --git a/linopy/solver_capabilities.py b/linopy/solver_capabilities.py index f0507317..030659de 100644 --- a/linopy/solver_capabilities.py +++ b/linopy/solver_capabilities.py @@ -7,7 +7,6 @@ from __future__ import annotations -import platform from dataclasses import dataclass from enum import Enum, auto from importlib.metadata import PackageNotFoundError @@ -179,21 +178,12 @@ def supports(self, feature: SolverFeature) -> bool: display_name="SCIP", features=frozenset( { - SolverFeature.INTEGER_VARIABLES, - SolverFeature.LP_FILE_NAMES, - SolverFeature.READ_MODEL_FROM_FILE, - SolverFeature.SOLUTION_FILE_NOT_NEEDED, - } - if platform.system() == "Windows" - else { SolverFeature.INTEGER_VARIABLES, SolverFeature.QUADRATIC_OBJECTIVE, SolverFeature.LP_FILE_NAMES, SolverFeature.READ_MODEL_FROM_FILE, SolverFeature.SOLUTION_FILE_NOT_NEEDED, } - # SCIP has a bug with quadratic models on Windows, see: - # https://github.com/PyPSA/linopy/actions/runs/7615240686/job/20739454099?pr=78 ), ), "mosek": SolverInfo(