coin-or / pulp

A python Linear Programming API

Home Page:http://coin-or.github.io/pulp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reading MPS file doesn't parse the objective sense

stephenjmaher opened this issue · comments

Describe the new feature

When reading an MPS file, the objective sense is not parsed. The objective sense has to been passed to fromMPS as a parameter before reading the instance.

I would like add to the readMPS method to parse the objective sense, if it is specified in the file. If the objective sense is not specified, then the sense defaults to LpMinimize.