Skip to content

Resolve possible issue with MPS writer #1923

Open
@whart222

Description

@whart222

Summary

While working on PAO, I discovered that MPS files generated by Pyomo cannot be properly read by MibS. This may be a general COIN-OR thing, or it may be specific to MibS.

Steps to reproduce the issue

The PAO MibS model is here: https://github.com/or-fusion/pao/blob/master/pao/mpr/solvers/mibs.py

The function create_mps_model() function creates the file tmp.mps from Pyomo, and then processes the file to work around issues with the format of the file. I think the MPS file allows for some flexibility in specifying variable bounds and what not, but the MibS reader is less flexible.

Information on your system

Pyomo version: main branch
Python version: 3.8
Operating system: Linux
How Pyomo was installed (PyPI, conda, source): Not sure
Solver (if applicable):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions