linopy icon indicating copy to clipboard operation
linopy copied to clipboard

Using MOSEK from Linopy

Open ulfworsoe opened this issue 5 months ago • 0 comments

When using MOSEK from linopy a new mosek.Env is created for each new mosek.Task.

It would be better to create mosek.Task with no environment, which translates to using the hidden global environment. Since some things, like licenses, are checked out, cached and checked in for each environment, it may create unnecessary overhead and potentially check or more licenses than necessary.

ulfworsoe avatar Jul 18 '25 09:07 ulfworsoe