FBumann

Results 14 comments of FBumann

My temporary solution for this is using a context manager an wrapping the solve it: ```python import os import sys from contextlib import contextmanager @contextmanager def suppress_output(): """Redirect both Python...

I have a similar bug. This could work as a minimal example: ## Creating a Variable with scalar `xarray.DataArray` as bounds leads to scalar Variable, regardless of passed coords ```python...

@lkstrp About that, I think it would be nice to have a method that creates the str only. Im currently redirecting stdout to get the infos about the infeasibilities: ```python...

I want to add that I would be ready to work on this functionality. But you might be able to give me a head start by sharing your past thoughts...

Probably. Maybe an option in solve() would be the best option to navigate around this. It took a bit of digging to realize why I'm having the issue described above....

@ollie-bell After closing the model, `.compute_infeasibilities()`will not work anymore. In production environments, this is not needed most of the time. But closing the Model will free up the license. One...

@ollie-bell @FabianHofmann Im currently simply closing the model after the solve ```python import linopy m = linopy.Model() m.add_variables() m.solve('gurobi') m.solver_model.close() print(m.solver_model) ``` Maybe it's enough to put this in the...

Hi, im from the [flixopt framework](https://github.com/flixOpt/flixopt). We are currently trying to model investment decisions and their temporal coupling. I would love to discuss the options we are evaluating at the...

Hi @p-snft, Thanks for your quick answer (and sorry my late response). Unfortunately I will be on vacation during your developer conference. I hope that I'll find the time to...