cvxgrp / cvxpygen

Code generation with CVXPY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature request: structs instead of global workspace

ghorn opened this issue · comments

The generated code uses a global workspace, including the third-party solver's workspace. I'm running into some drawbacks from this such as inability to simulate more than one actor simultaneously, inability to run multi-threaded, etc.

Was this done for simplicity, or is there a performance goal? Would you be open to PRs that encapsulate the workspace in a struct?

Discussion from discord:

image