The conic solvers don't support any variable constraints. So when implementing copy_to from their OptimizerCache, they will all need to check that no constraint variable is set. LP solvers supports some of them but not all so they will need to check that the ones they support are not set.
One way to improve the situation would be to allow GenericModel to have different type of variable containers.
The conic solvers don't support any variable constraints. So when implementing
copy_tofrom theirOptimizerCache, they will all need to check that no constraint variable is set. LP solvers supports some of them but not all so they will need to check that the ones they support are not set.One way to improve the situation would be to allow
GenericModelto have different type of variable containers.