Recent Releases of Linopy

Linopy - v0.5.6

What's Changed

  • Fixed typing of arithmetic methods by @RobbieKiwi in https://github.com/PyPSA/linopy/pull/454
  • Solver: Added additional keys and values within condition map of cplex solver by @BuiMCanmet in https://github.com/PyPSA/linopy/pull/458
  • remove python 3.9 deps by @FabianHofmann in https://github.com/PyPSA/linopy/pull/463
  • Add Support for Python 3.13 by @lkstrp in https://github.com/PyPSA/linopy/pull/465
  • Add Claude Code GitHub Workflow by @FabianHofmann in https://github.com/PyPSA/linopy/pull/462
  • fix: Allow COPT solution parsing for IMPRECISE status by @FabianHofmann in https://github.com/PyPSA/linopy/pull/466
  • feat: allow passing a parameter dict to gurobi's env creation by @coroa in https://github.com/PyPSA/linopy/pull/469
  • fix: make gurobipy dependency optional in generic type parameter by @lkstrp in https://github.com/PyPSA/linopy/pull/471
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/PyPSA/linopy/pull/472
  • feat: extend IIS calculation to support Xpress solver by @FabianHofmann in https://github.com/PyPSA/linopy/pull/473

New Contributors

  • @RobbieKiwi made their first contribution in https://github.com/PyPSA/linopy/pull/454
  • @BuiMCanmet made their first contribution in https://github.com/PyPSA/linopy/pull/458

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.5.5...v0.5.6

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] 9 months ago

Linopy - v0.5.5

What's Changed

  • feat: termination condition map for SCIP solver by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/447
  • fix: CBC output parsing, parse runtime & duality gap by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/446
  • fix: treat SCIP condition gaplimit as optimal by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/448
  • fix: don't return OK for GLPK status integer undefined by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/449
  • fix: remove highs log file default by @ollie-bell in https://github.com/PyPSA/linopy/pull/445
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/455
  • Use multiindex safe assignment where needed by @FabianHofmann in https://github.com/PyPSA/linopy/pull/456
  • Harmonize assign followup by @FabianHofmann in https://github.com/PyPSA/linopy/pull/457

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.5.3...v0.5.5

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] about 1 year ago

Linopy - v0.5.4

What's Changed

  • feat: termination condition map for SCIP solver by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/447
  • fix: CBC output parsing, parse runtime & duality gap by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/446
  • fix: treat SCIP condition gaplimit as optimal by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/448
  • fix: don't return OK for GLPK status integer undefined by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/449
  • fix: remove highs log file default by @ollie-bell in https://github.com/PyPSA/linopy/pull/445
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/455
  • Ise multiindex safe assignment where needed by @FabianHofmann in https://github.com/PyPSA/linopy/pull/456

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.5.3...v0.5.4

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] about 1 year ago

Linopy - v0.5.3

What's Changed

  • Support pickling a linopy model by @victorgarcia98 in https://github.com/PyPSA/linopy/pull/438
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/439
  • fix: don't disable presolve and fix dual value retrieval for SCIP by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/441
  • fix: use HiGHS to parse CBC sol correctly by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/442
  • docs: update README with development setup instructions by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/443
  • feat: termination condition mapping for highs solver by @ollie-bell in https://github.com/PyPSA/linopy/pull/440

New Contributors

  • @victorgarcia98 made their first contribution in https://github.com/PyPSA/linopy/pull/438

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.5.2...v0.5.3

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] about 1 year ago

Linopy - v0.5.2

What's Changed

  • fix: ensure compat with pandas item selection and numpy >= 2.0 by @FabianHofmann in https://github.com/PyPSA/linopy/pull/434

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.5.1...v0.5.2

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] about 1 year ago

Linopy - v0.5.1

What's Changed

  • fix docs build by @lkstrp in https://github.com/PyPSA/linopy/pull/414
  • fix: unpin numpy<2 for python>3.10 by @ollie-bell in https://github.com/PyPSA/linopy/pull/415
  • Add Constraints and Variables to Public API by @FBumann in https://github.com/PyPSA/linopy/pull/419
  • Maximize compatability with Datatypes by returning NotImplemented if add, mul ... fail by @FBumann in https://github.com/PyPSA/linopy/pull/417
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/423
  • fix: empty for linear expressions with terms by @coroa in https://github.com/PyPSA/linopy/pull/424
  • COPT update by @PeterKlein11 in https://github.com/PyPSA/linopy/pull/383
  • fix: change empty to property by @coroa in https://github.com/PyPSA/linopy/pull/425
  • feat: add method wrapper for xr.align by @coroa in https://github.com/PyPSA/linopy/pull/426
  • fix: xarray new rolling namespace by @FabianHofmann in https://github.com/PyPSA/linopy/pull/432

New Contributors

  • @ollie-bell made their first contribution in https://github.com/PyPSA/linopy/pull/415
  • @FBumann made their first contribution in https://github.com/PyPSA/linopy/pull/419
  • @PeterKlein11 made their first contribution in https://github.com/PyPSA/linopy/pull/383

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.5.0...v0.5.1

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] about 1 year ago

Linopy - v0.5.0

What's Changed

  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/400
  • docs: add note for faulty versions by @lkstrp in https://github.com/PyPSA/linopy/pull/403
  • add issue templates by @lkstrp in https://github.com/PyPSA/linopy/pull/404
  • add pypsa-eur model tests by @lkstrp in https://github.com/PyPSA/linopy/pull/405
  • feat: move setintindex to solution assignment in model.py by @FabianHofmann in https://github.com/PyPSA/linopy/pull/406
  • fix: call GLPK with --freemps instead of --mps by @siddharth-krishna in https://github.com/PyPSA/linopy/pull/410
  • feat: gently handle unknown status by @FabianHofmann in https://github.com/PyPSA/linopy/pull/409
  • feat: allow multiplication by constant to introduce new dimensions by @coroa in https://github.com/PyPSA/linopy/pull/412
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/408
  • add unstack method by @FabianHofmann in https://github.com/PyPSA/linopy/pull/350
  • Complete type annotations by @FabianHofmann in https://github.com/PyPSA/linopy/pull/399
  • Export variable and constraint names in LP files by @lkstrp in https://github.com/PyPSA/linopy/pull/413

New Contributors

  • @siddharth-krishna made their first contribution in https://github.com/PyPSA/linopy/pull/410

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.4.4...v0.5.0

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] over 1 year ago

Linopy - v0.4.4

What's Changed

  • add check for valid dimension name before creating new variable by @tom-welfonder in https://github.com/PyPSA/linopy/pull/360
  • fix: add mindopt license check by @lkstrp in https://github.com/PyPSA/linopy/pull/393
  • Update manipulating-models.ipynb by @qheuristics in https://github.com/PyPSA/linopy/pull/395
  • Update manipulating-models.ipynb by @qheuristics in https://github.com/PyPSA/linopy/pull/394
  • fix: support more than one initial letter in variable and constraint name by @FabianHofmann in https://github.com/PyPSA/linopy/pull/397
  • fix: make sure last slice is included in iterate slices by @FabianHofmann in https://github.com/PyPSA/linopy/pull/398

New Contributors

  • @tom-welfonder made their first contribution in https://github.com/PyPSA/linopy/pull/360
  • @qheuristics made their first contribution in https://github.com/PyPSA/linopy/pull/395

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.4.3...v0.4.4

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] over 1 year ago

Linopy - v0.4.3

What's Changed

  • io: allow setting progress=False in solver to disable stdout even for larger models by @maurerle in https://github.com/PyPSA/linopy/pull/375
  • build(deps): bump codecov/codecov-action from 4 to 5 in the github-actions group by @dependabot in https://github.com/PyPSA/linopy/pull/387
  • add pandas_priority to linopy objects by @FabianHofmann in https://github.com/PyPSA/linopy/pull/389
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/388
  • fix empty sclicing dimension in iterate_slices by @FabianHofmann in https://github.com/PyPSA/linopy/pull/390

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.4.2...v0.4.3

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] over 1 year ago

Linopy - v0.4.2

What's Changed

  • add check for solver installation when initializing solver class instances by @daniel-rdt in https://github.com/PyPSA/linopy/pull/377
  • fix: correctly pass slice_size argument by @FabianHofmann in https://github.com/PyPSA/linopy/pull/379
  • io: open file using context manager to properly close it again by @tburandt in https://github.com/PyPSA/linopy/pull/381

New Contributors

  • @tburandt made their first contribution in https://github.com/PyPSA/linopy/pull/381

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.4.0...v0.4.2

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] over 1 year ago

Linopy - v0.4.1

What's Changed

  • add check for solver installation when initializing solver class instances by @daniel-rdt in https://github.com/PyPSA/linopy/pull/377
  • fix: correctly pass slice_size argument by @FabianHofmann in https://github.com/PyPSA/linopy/pull/379

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.4.0...v0.4.1

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] over 1 year ago

Linopy - v0.4.0

What's Changed

  • fix: more robust solver installed check by @lkstrp in https://github.com/PyPSA/linopy/pull/353
  • Improve cleanliness method print_infeasibilities() by @kruksik-dev in https://github.com/PyPSA/linopy/pull/354
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/357
  • Refactoring of linopy solvers to object oriented architecture by @daniel-rdt in https://github.com/PyPSA/linopy/pull/349
  • xpress: writesol instead of tofile by @fneum in https://github.com/PyPSA/linopy/pull/364
  • io: write out lp file with sliced variables and constraints by @FabianHofmann in https://github.com/PyPSA/linopy/pull/365
  • constraints: sanitize infinity values by @FabianHofmann in https://github.com/PyPSA/linopy/pull/370
  • sanitize infinity values: fix multiindex assignment by @FabianHofmann in https://github.com/PyPSA/linopy/pull/371
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/372
  • fix: support multiindexed and arbitrarly-named dimensions for grouping by @FabianHofmann in https://github.com/PyPSA/linopy/pull/373
  • feat: show multiindex levels in repr & improve multiindexed coords repr by @FabianHofmann in https://github.com/PyPSA/linopy/pull/374

New Contributors

  • @daniel-rdt made their first contribution in https://github.com/PyPSA/linopy/pull/349

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.15...v0.4.0

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] over 1 year ago

Linopy - v0.3.15

What's Changed

  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/338
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/339
  • chore: reveal types in package by @lkstrp in https://github.com/PyPSA/linopy/pull/341
  • build: use post-release versioning by @lkstrp in https://github.com/PyPSA/linopy/pull/342
  • fix: codecov report by @lkstrp in https://github.com/PyPSA/linopy/pull/343
  • ci: move mypy to gh raction and add more rules by @lkstrp in https://github.com/PyPSA/linopy/pull/344
  • ci: code scanning with CodeQL by @lkstrp in https://github.com/PyPSA/linopy/pull/345
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/346
  • groupby: fix pandas dataframe with column name as grouper by @FabianHofmann in https://github.com/PyPSA/linopy/pull/352

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.14...v0.3.15

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] over 1 year ago

Linopy - v0.3.14

What's Changed

  • ci: disable pip package caching in actions/setup-python by @afuetterer in https://github.com/PyPSA/linopy/pull/324
  • Fix io termination condition by @FabianHofmann in https://github.com/PyPSA/linopy/pull/327
  • ci: overhaul ci and cd workflows by @afuetterer in https://github.com/PyPSA/linopy/pull/326
  • chore: replace black, isort, absolufy-imports with ruff by @afuetterer in https://github.com/PyPSA/linopy/pull/328
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/331
  • Get solution for gurobi before exiting enviornment context manager by @dannyopts in https://github.com/PyPSA/linopy/pull/330
  • ci: improve test workflow performance by @afuetterer in https://github.com/PyPSA/linopy/pull/333
  • ci: disable pytest multiprocessing by @lkstrp in https://github.com/PyPSA/linopy/pull/334
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/335
  • linexpression: drop squeeze argument in groupby by @FabianHofmann in https://github.com/PyPSA/linopy/pull/337
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/336

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.13...v0.3.14

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] almost 2 years ago

Linopy - v0.3.13

What's Changed

  • Solution fn fix by @FabianHofmann in https://github.com/PyPSA/linopy/pull/317
  • use assignmultiindexsafe where necessary to avoid deprecation warning by @FabianHofmann in https://github.com/PyPSA/linopy/pull/318
  • fix module not found error highspy by @michalmarszal in https://github.com/PyPSA/linopy/pull/319
  • ci: fix RTD build by @lkstrp in https://github.com/PyPSA/linopy/pull/321
  • Update xarray package version from "xarray>=2023.9.0" to "xarray>=2024.2.0" by @kruksik-dev in https://github.com/PyPSA/linopy/pull/322

New Contributors

  • @kruksik-dev made their first contribution in https://github.com/PyPSA/linopy/pull/322

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.12...v0.3.13

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] almost 2 years ago

Linopy - v0.3.12

What's Changed

  • Numpy < 2.0 by @FabianHofmann in https://github.com/PyPSA/linopy/pull/306
  • ci: add dependabot config by @afuetterer in https://github.com/PyPSA/linopy/pull/311
  • build(deps): bump actions/setup-python from 1 to 5 in the github-actions group by @dependabot in https://github.com/PyPSA/linopy/pull/312
  • Annotate typing by @FabianHofmann in https://github.com/PyPSA/linopy/pull/310
  • support for warmstart in HiGHS by @fneum in https://github.com/PyPSA/linopy/pull/309
  • chore: move coverage.py config to pyproject.toml by @afuetterer in https://github.com/PyPSA/linopy/pull/314
  • ci: use checkout with fetch-depth 0 by @afuetterer in https://github.com/PyPSA/linopy/pull/313
  • fix: no sol file for gurobi by @michalmarszal in https://github.com/PyPSA/linopy/pull/315
  • Forward Mosek log to stdout by @aszekMosek in https://github.com/PyPSA/linopy/pull/305

New Contributors

  • @afuetterer made their first contribution in https://github.com/PyPSA/linopy/pull/311
  • @dependabot made their first contribution in https://github.com/PyPSA/linopy/pull/312
  • @michalmarszal made their first contribution in https://github.com/PyPSA/linopy/pull/315
  • @aszekMosek made their first contribution in https://github.com/PyPSA/linopy/pull/305

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.11...v0.3.12

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] almost 2 years ago

Linopy - v0.3.11

What's Changed

  • test: add test for ndim groupby by @FabianHofmann in https://github.com/PyPSA/linopy/pull/301
  • solvers: remove dot at end of log file print to be clickable by @FabianHofmann in https://github.com/PyPSA/linopy/pull/302
  • io: fix netcdf IO for parameters by @FabianHofmann in https://github.com/PyPSA/linopy/pull/304
  • ci: fix potential setuptools_scm issues in gh actions by @lkstrp in https://github.com/PyPSA/linopy/pull/298

New Contributors

  • @lkstrp made their first contribution in https://github.com/PyPSA/linopy/pull/298

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.10...v0.3.11

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] almost 2 years ago

Linopy - v0.3.10

What's Changed

  • Update release_notes.rst by @aurelije in https://github.com/PyPSA/linopy/pull/282
  • Consolidate getitem functionality by @FabianHofmann in https://github.com/PyPSA/linopy/pull/285
  • add examples.py by @FabianHofmann in https://github.com/PyPSA/linopy/pull/286
  • Explicit properties inheritance by @FabianHofmann in https://github.com/PyPSA/linopy/pull/287
  • io: use reshape instead of ravel to avoid copy by @FabianHofmann in https://github.com/PyPSA/linopy/pull/289
  • Polars based LP file writer by @FabianHofmann in https://github.com/PyPSA/linopy/pull/291
  • Workflow for auto releasing on GH by @leuchtum in https://github.com/PyPSA/linopy/pull/292
  • Fh/fix 266 by @apfelix in https://github.com/PyPSA/linopy/pull/290
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/296
  • xarray methods additions by @FabianHofmann in https://github.com/PyPSA/linopy/pull/297

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.9...v0.3.10

Scientific Software - Peer-reviewed - Python
Published by github-actions[bot] about 2 years ago

Linopy - v0.3.9

What's Changed

  • matrices: add dual attribute by @FabianHofmann in https://github.com/PyPSA/linopy/pull/258
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/259
  • avoid using highs_bindings, they are not needed and are removed in 1.7.1.dev by @apfelix in https://github.com/PyPSA/linopy/pull/264
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/268
  • Added the new pdlp solver (highs > 1.7) to the description, added warning by @Cellophil in https://github.com/PyPSA/linopy/pull/267
  • Add function for querying attributes of solver model by @Irieo in https://github.com/PyPSA/linopy/pull/247
  • Update JuMP syntax in syntax.rst by @odow in https://github.com/PyPSA/linopy/pull/272
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/273
  • properly handle constraint assignment with constants when using args by @FabianHofmann in https://github.com/PyPSA/linopy/pull/274
  • add_constraints: allow rhs to be expression by @FabianHofmann in https://github.com/PyPSA/linopy/pull/277
  • expressions & variables: add expand_dims and stack functions by @FabianHofmann in https://github.com/PyPSA/linopy/pull/278
  • remove cplex from macos solver deps by @FabianHofmann in https://github.com/PyPSA/linopy/pull/280
  • add python 3.12 to CI by @FabianHofmann in https://github.com/PyPSA/linopy/pull/184
  • Renamed kw dims of LinearExpression.sum & Variable.sum to dim by @leuchtum in https://github.com/PyPSA/linopy/pull/246
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/276
  • Support for integer/binary vars for MOSEK by @ulfworsoe in https://github.com/PyPSA/linopy/pull/275
  • replace setup.py by pyproject.yaml by @FabianHofmann in https://github.com/PyPSA/linopy/pull/279

New Contributors

  • @apfelix made their first contribution in https://github.com/PyPSA/linopy/pull/264
  • @ulfworsoe made their first contribution in https://github.com/PyPSA/linopy/pull/275

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.8...v0.3.9

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann about 2 years ago

Linopy - v0.3.8

What's Changed

  • expression: add solution attribute to expression class by @FabianHofmann in https://github.com/PyPSA/linopy/pull/249
  • constraints & varaibles: add formatted attribute getter by @FabianHofmann in https://github.com/PyPSA/linopy/pull/250
  • Matmul and dot operation by @FabianHofmann in https://github.com/PyPSA/linopy/pull/251
  • test_optimization: print set of tested solvers by @FabianHofmann in https://github.com/PyPSA/linopy/pull/252
  • run ruff by @FabianHofmann in https://github.com/PyPSA/linopy/pull/253

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.7...v0.3.8

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann about 2 years ago

Linopy - v0.3.7

What's Changed

  • Fix typo in documentation by @staadecker in https://github.com/PyPSA/linopy/pull/241
  • expression: support Expression init with constant values (pandas, numpy, scalar) by @FabianHofmann in https://github.com/PyPSA/linopy/pull/242
  • expression: ensure alignment with pandas dataframes and xarray dataarrays by @FabianHofmann in https://github.com/PyPSA/linopy/pull/243
  • Add quadratic objective support and 'direct' mode for MOSEK (superset of #226) by @FabianHofmann in https://github.com/PyPSA/linopy/pull/244

New Contributors

  • @staadecker made their first contribution in https://github.com/PyPSA/linopy/pull/241

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.6...v0.3.7

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann about 2 years ago

Linopy - v0.3.6

What's Changed

  • Better doc by explicitly using qualname instead of repr() by @leuchtum in https://github.com/PyPSA/linopy/pull/238
  • Improved pandas object alignment by @FabianHofmann in https://github.com/PyPSA/linopy/pull/239
  • constraint: fix mask attribute by @FabianHofmann in https://github.com/PyPSA/linopy/pull/240

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.5...v0.3.6

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann about 2 years ago

Linopy - v0.3.5

What's Changed

  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/222
  • Code example for model.Model.linexpr now correctly displayed by @leuchtum in https://github.com/PyPSA/linopy/pull/228
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/229
  • repr: use consistent dims order to determine order of display by @FabianHofmann in https://github.com/PyPSA/linopy/pull/231
  • Support power operation by @FabianHofmann in https://github.com/PyPSA/linopy/pull/234
  • add chaining operations by @FabianHofmann in https://github.com/PyPSA/linopy/pull/235

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.4...v0.3.5

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann about 2 years ago

Linopy - v0.3.4

What's Changed

  • ci: update all action versions by @FabianHofmann in https://github.com/PyPSA/linopy/pull/225
  • make it possible to suppress solver output when running CBC and GLPK by @maurerle in https://github.com/PyPSA/linopy/pull/224
  • QP support for MOSEK, COPT, MindOpt by @fneum in https://github.com/PyPSA/linopy/pull/223
  • setup.py: use env markers for solvers by @FabianHofmann in https://github.com/PyPSA/linopy/pull/227

New Contributors

  • @maurerle made their first contribution in https://github.com/PyPSA/linopy/pull/224

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.3...v0.3.4

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 2 years ago

Linopy - v0.3.3

What's Changed

  • Allow removing objective expression from the model by @Irieo in https://github.com/PyPSA/linopy/pull/212
  • allow removing multiple constraints at once by @Irieo in https://github.com/PyPSA/linopy/pull/211
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/213
  • Fix benchmark_jump.jl by @odow in https://github.com/PyPSA/linopy/pull/215
  • require higher xarray version by @lindnemi in https://github.com/PyPSA/linopy/pull/218
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/214
  • address deprecations and issue with multiindex deserialization by @FabianHofmann in https://github.com/PyPSA/linopy/pull/220
  • Add SCIP solver interface by @FabianHofmann in https://github.com/PyPSA/linopy/pull/78

New Contributors

  • @Irieo made their first contribution in https://github.com/PyPSA/linopy/pull/212
  • @lindnemi made their first contribution in https://github.com/PyPSA/linopy/pull/218

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.2...v0.3.3

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 2 years ago

Linopy - v0.3.2

What's Changed

  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/196
  • Update README.md by @d3netxer in https://github.com/PyPSA/linopy/pull/195
  • MOSEK ensure any license tokens are checked in after initialisation by @jotaigna in https://github.com/PyPSA/linopy/pull/199
  • set fill value to 0.0 to prevent cohersion to int for matrices.c by @dannyopts in https://github.com/PyPSA/linopy/pull/201
  • IO: multiindeces and general fixes by @FabianHofmann in https://github.com/PyPSA/linopy/pull/202
  • Safe remove helper dims from coords by @FabianHofmann in https://github.com/PyPSA/linopy/pull/205
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/204
  • Use os.makedirs to create parent dirs for solution_fn by @dannyopts in https://github.com/PyPSA/linopy/pull/203

New Contributors

  • @d3netxer made their first contribution in https://github.com/PyPSA/linopy/pull/195
  • @jotaigna made their first contribution in https://github.com/PyPSA/linopy/pull/199

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3.1...v0.3.2

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 2 years ago

Linopy - v0.3.1

What's Changed

  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/191
  • add COPT solver by @fneum in https://github.com/PyPSA/linopy/pull/190
  • Retrieve solution before closing the gurobi env by @dannyopts in https://github.com/PyPSA/linopy/pull/193
  • add MindOpt solver by @fneum in https://github.com/PyPSA/linopy/pull/188
  • add MOSEK solver by @fneum in https://github.com/PyPSA/linopy/pull/189
  • constant: ensure float value & improve printing of constants by @FabianHofmann in https://github.com/PyPSA/linopy/pull/194

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.3...v0.3.1

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 2 years ago

Linopy - v0.3

What's Changed

  • add option to pass existing gurobipy.Env to run_gurobipy() by @fneum in https://github.com/PyPSA/linopy/pull/172
  • Remove logging.disable from gurobi solve by @dannyopts in https://github.com/PyPSA/linopy/pull/174
  • Sourcery refactored master branch by @sourcery-ai in https://github.com/PyPSA/linopy/pull/175
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/173
  • Fix typo in double logging by @dannyopts in https://github.com/PyPSA/linopy/pull/177
  • solvers: update cplex condition map by @FabianHofmann in https://github.com/PyPSA/linopy/pull/178
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/179
  • add objective module and objective class in order to allow maximization problems by @FabianHofmann in https://github.com/PyPSA/linopy/pull/170
  • refine treatment of missing values by @FabianHofmann in https://github.com/PyPSA/linopy/pull/180
  • Remove deprecations for v0.3 by @FabianHofmann in https://github.com/PyPSA/linopy/pull/181
  • add transport tutorial to index.rst by @FabianHofmann in https://github.com/PyPSA/linopy/pull/183
  • explicitly use from_pandas_multiindex in groupby function by @FabianHofmann in https://github.com/PyPSA/linopy/pull/182

New Contributors

  • @fneum made their first contribution in https://github.com/PyPSA/linopy/pull/172
  • @dannyopts made their first contribution in https://github.com/PyPSA/linopy/pull/174
  • @sourcery-ai made their first contribution in https://github.com/PyPSA/linopy/pull/175

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.2.6...v0.3

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 2 years ago

Linopy - v0.2.6

What's Changed

  • Include Transport Tutorial by @glatterf42 in https://github.com/PyPSA/linopy/pull/149
  • io: further improve mem-efficiency of to_dataframe by @FabianHofmann in https://github.com/PyPSA/linopy/pull/161
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/158
  • Enclose env usage in with keyword for gurobi by @tgi-climact in https://github.com/PyPSA/linopy/pull/162
  • repr: use indexes as basis for printing out coords rather than values by @FabianHofmann in https://github.com/PyPSA/linopy/pull/164
  • Update JuMP and linopy benchmark scripts by @odow in https://github.com/PyPSA/linopy/pull/163
  • limit version of setuptools_scm as it breaks the syntax of the auto-c… by @jankaeh in https://github.com/PyPSA/linopy/pull/165

New Contributors

  • @glatterf42 made their first contribution in https://github.com/PyPSA/linopy/pull/149
  • @tgi-climact made their first contribution in https://github.com/PyPSA/linopy/pull/162
  • @odow made their first contribution in https://github.com/PyPSA/linopy/pull/163

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.2.5...v0.2.6

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 2 years ago

Linopy - v0.2.5

What's Changed

  • Fix save join dtype by @FabianHofmann in https://github.com/PyPSA/linopy/pull/156

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.2.4...v0.2.5

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 2 years ago

Linopy - v0.2.4

What's Changed

  • make highs default solver by @FabianHofmann in https://github.com/PyPSA/linopy/pull/93
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/150
  • introduce to_dataframe in order to avoid memory peaks in IO by @FabianHofmann in https://github.com/PyPSA/linopy/pull/153

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.2.3...v0.2.4

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 2 years ago

Linopy - v0.2.3

What's Changed

  • Missing + sign in objective function by @aurelije in https://github.com/PyPSA/linopy/pull/146
  • A PyPSA-based problem is not necessary linear. by @LucieRC in https://github.com/PyPSA/linopy/pull/148
  • .cumsum for Variables and LinearExpression by @hblunck in https://github.com/PyPSA/linopy/pull/147
  • expression: fix constant-constant multiplication by @FabianHofmann in https://github.com/PyPSA/linopy/pull/151

New Contributors

  • @aurelije made their first contribution in https://github.com/PyPSA/linopy/pull/146
  • @LucieRC made their first contribution in https://github.com/PyPSA/linopy/pull/148
  • @hblunck made their first contribution in https://github.com/PyPSA/linopy/pull/147

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.2.2...v0.2.3

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann almost 3 years ago

Linopy -

Major extensions and refactoring. Among other new features, linopy now supports Quadratic Programming and LinearExpression which can include constant values.

See release notes for a full report of the changes.

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann almost 3 years ago

Linopy - v0.1.5

What's Changed

  • release v0.1.4 by @FabianHofmann in https://github.com/PyPSA/linopy/pull/105
  • Float representation in lp files by @jafluri in https://github.com/PyPSA/linopy/pull/114
  • Reindex constraint labels by model.constraints if necessary by @FabianHofmann in https://github.com/PyPSA/linopy/pull/113
  • Add sel function to Constraint and AnonymousConstraint by @FabianHofmann in https://github.com/PyPSA/linopy/pull/115
  • variables & constraints: redesign printout of containers by @FabianHofmann in https://github.com/PyPSA/linopy/pull/116
  • constants: remove solving condition "other" from status "ok" group by @FabianHofmann in https://github.com/PyPSA/linopy/pull/118
  • Update deploy.yml by @FabianHofmann in https://github.com/PyPSA/linopy/pull/119
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/102

New Contributors

  • @jafluri made their first contribution in https://github.com/PyPSA/linopy/pull/114

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.1.4...v0.1.5

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann about 3 years ago

Linopy - Linopy: Linear optimization with n-dimensional labeled variables

This is an archived version used for the publication in JOSS

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann about 3 years ago

Linopy - v0.1.4

What's Changed

  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/99
  • adding lower, greater by @Cellophil in https://github.com/PyPSA/linopy/pull/100
  • fix representation of empty variables/linexpressions by @FabianHofmann in https://github.com/PyPSA/linopy/pull/104

New Contributors

  • @Cellophil made their first contribution in https://github.com/PyPSA/linopy/pull/100

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.1.3...v0.1.4

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann about 3 years ago

Linopy - v0.1.3

What's Changed

  • Add MPS IO to tests by @FabianHofmann in https://github.com/PyPSA/linopy/pull/97
  • solvers: fix dual retrieval from highs by @FabianHofmann in https://github.com/PyPSA/linopy/pull/98
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/94

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.1.2...v0.1.3

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 3 years ago

Linopy - v0.1.2

What's Changed

  • Fix representation for single constraints without coordinates by @FabianHofmann in https://github.com/PyPSA/linopy/pull/92

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.1.1...v0.1.2

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 3 years ago

Linopy - v0.1.1

What's Changed

  • Make expression and constraint display more stable
  • Add global options setter @FabianHofmann in https://github.com/PyPSA/linopy/pull/90
  • Override coordinates in case the dimension of joined expressions/variables are exactly the same @FabianHofmann in https://github.com/PyPSA/linopy/pull/90
  • constraint display: fix case of all-masked constraints by @FabianHofmann in https://github.com/PyPSA/linopy/pull/91

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.1...v0.1.1

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 3 years ago

Linopy - v0.1

What's Changed

  • Composition design review by @FabianHofmann in https://github.com/PyPSA/linopy/pull/63
  • fix minor typos in doc strings by @lumbric in https://github.com/PyPSA/linopy/pull/70
  • Refactor LinearExpression and Constraint using composition by @coroa in https://github.com/PyPSA/linopy/pull/55
  • Support writing problem to MPS file by @FabianHofmann in https://github.com/PyPSA/linopy/pull/71
  • Modularize tests by @FabianHofmann in https://github.com/PyPSA/linopy/pull/72
  • fully support integer variables by @FabianHofmann in https://github.com/PyPSA/linopy/pull/73
  • Add constants module for static parameter by @FabianHofmann in https://github.com/PyPSA/linopy/pull/74
  • A set of constant status and termination conditions by @FabianHofmann in https://github.com/PyPSA/linopy/pull/76
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/75
  • Automatic summation of repeated variables by @FabianHofmann in https://github.com/PyPSA/linopy/pull/77
  • Support diff operation for variables and expressions by @FabianHofmann in https://github.com/PyPSA/linopy/pull/79
  • Filter out very small coefficients by @FabianHofmann in https://github.com/PyPSA/linopy/pull/80
  • Improve representation of infeasible constraints by @FabianHofmann in https://github.com/PyPSA/linopy/pull/81
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/82
  • Improve representation by @FabianHofmann in https://github.com/PyPSA/linopy/pull/84
  • supress disturbing output when cbc/glpk are no available_solvers by @jankaeh in https://github.com/PyPSA/linopy/pull/87
  • Solver options printout by @FabianHofmann in https://github.com/PyPSA/linopy/pull/86
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/83
  • Improve repr follow up by @FabianHofmann in https://github.com/PyPSA/linopy/pull/88

New Contributors

  • @jankaeh made their first contribution in https://github.com/PyPSA/linopy/pull/87

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.0.15...v0.1

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 3 years ago

Linopy - v0.0.15

What's Changed

  • doc: minor fix in API reference by @lumbric in https://github.com/PyPSA/linopy/pull/49
  • pips: add combined row labels for submatrices beside each other by @FabianHofmann in https://github.com/PyPSA/linopy/pull/50
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/52
  • fix operands / specify error messages by @FabianHofmann in https://github.com/PyPSA/linopy/pull/58
  • Replace numpy isscalar check by pandas isscalar check by @FabianHofmann in https://github.com/PyPSA/linopy/pull/65
  • Allow sum() function over scalar objects by @FabianHofmann in https://github.com/PyPSA/linopy/pull/64
  • expression / constraints: allow returning None type when creating from rule by @FabianHofmann in https://github.com/PyPSA/linopy/pull/66
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/56
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyPSA/linopy/pull/67
  • Define field as default_factory to specify mutable default value by @danuriegas in https://github.com/PyPSA/linopy/pull/68
  • pips-io: print out rows by @FabianHofmann in https://github.com/PyPSA/linopy/pull/69

New Contributors

  • @danuriegas made their first contribution in https://github.com/PyPSA/linopy/pull/68

Full Changelog: https://github.com/PyPSA/linopy/compare/v0.0.14...v0.0.15

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 3 years ago

Linopy - v0.0.14

New Features

  • Linopy now uses highspy as an interface to the HiGHS solver. This enables a direct and fast communication without needing to write an intermediate LP file.

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 3 years ago

Linopy - v0.0.13

New Features

  • The function LinearExpression.from_tuples now allows ScalarVariable as input.
  • For compatibility reasons, the function groupby_sum now allows pandas.Series as input.

Bug Fixes

  • Filtering out zeros is now an optional feature in the solve function. The previous behavior of filtering just before the LP file writing, lead to unexpected errors for constraints with only zero terms.

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 3 years ago

Linopy - v0.0.12

New Features

  • A new module was created to export basic mathematical quantities such as lb, ub, c vectors and the A matrix. Use it with the matrices accessor in linopy.Model.
  • For ConstraintsandVariables`aipython` autocompletion function for getting items was added.
  • Inplace updates for constraints are now more flexible.
  • AnonymousConstraint can now built from comparison operations of variables with constants, e.g. x >= 5.
  • The Model.add_constraints function now support input of type ScalarVariable, ScalarLinearExpression and ScalarConstraint.
  • Terms with zero coefficient are now filtered out before writing to file to avoid unnecessary overhead.
  • The function sanitize_zeros was added to Constraints. Use this to filter out zero coefficient terms.

Bug Fixes

  • Solving with gurobi and io_api="direct" lead to wrong objective assignment if the objective contained non-unique variables. This is fixed in this version.

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 3 years ago

Linopy - v0.0.11

This release introduces new features related to expression creation and comes with an improved documentation. Due to some indexing bugs in the latest xarray package v2022.06., the xarray depedency was fixed to maximally v2022.03.

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann over 3 years ago

Linopy - v0.0.10

See release notes for details.

Scientific Software - Peer-reviewed - Python
Published by FabianHofmann almost 4 years ago