MIPLIB has information about the structure of constraints and decision variable. OMMX should treat this information natively.  https://miplib.zib.de/instance_details_unitcal_7.html