linopy icon indicating copy to clipboard operation
linopy copied to clipboard

Linear optimization with N-D labeled arrays in Python

Results 69 linopy issues
Sort by recently updated
recently updated
newest added

We could optionally write the model references to a NetCDF file just before the solving process and reassign afterwards. This could reduce the total memory usage by 30%. (Example: for...

enhancement

Jump has a very good doc, it could serve as a rough orientation https://jump.dev/JuMP.jl/stable/

documentation

It seems to be a good way to use [monkeytype](https://github.com/Instagram/MonkeyType) for this: ```bash pip install monkeytype monkeytype run -m pytest linopy --doctest-modules test monkeytype apply linopy. # see all modules...

In pyomo one could specifiy: `model.write(lp_file_name, io_options={'symbolic_solver_labels': True})` Which retains original variable names, rathe rthan having these rewritten to x0, x1, x2 etc. We use a lot of scripts to...

When using `cplex` with PyPSA-EUR and `linopy` I'm getting the following error. It is linked to an `inf` constraint which I'm lazily imposing on the network, when filtering for the...

Is it planned to have the transpose method (available for xarray) for variables ? Since it does not exist for now, how can I formulate an equation such as :...

From a user perspective, what suggestions do you have regarding writing unit tests for models implemented in linopy? Are there any plans to improve the opportunities for comparing constraint and...

documentation

Hello, I'm opening this issue to raise attention on SOCP and quadratic modelling that may be highly interesting for some energy system applications, and I'm wondering if they have been...

model formulation

Hi there - installation with solvers option seems broken. Specifically, running this (as suggested in the [docs](https://linopy.readthedocs.io/en/latest/solvers.html)): `pip install linopy[solvers]` results in an old version of linopy being install (v0.0.13),...

wontfix