Version Checks (indicate both or one)
Issue Description
When using io_api="lp-polars" the model file linopy writes is different to io_api="lp". These differences result in the models from lp-polars showing as infeasible on a commercial model I am working on. The issue seems to stem from constraints writing differently between the two APIs.
Reproducible Example
# N/A I have not reproduced the issue because I have encountered it on commercial models I can't share
Expected Behavior
Consistent behaviour no matter which API is used
Installed Versions
Details