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.
When using MOSEK from linopy a new
mosek.Envis created for each newmosek.Task.It would be better to create
mosek.Taskwith 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.