Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 0 additions & 10 deletions linopy/solver_capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

from __future__ import annotations

import platform
from dataclasses import dataclass
from enum import Enum, auto
from importlib.metadata import PackageNotFoundError
Expand Down Expand Up @@ -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(
Expand Down