jonls / qsopt-ex

QSopt_ex - an exact linear programming solver. This is a fork adding improvements to the build system, library and a Python interface.
GNU General Public License v3.0
21 stars 12 forks source link

Empty file written by QSwrite_prob when no constraints are present #3

Closed jonls closed 7 years ago

jonls commented 9 years ago

QSwrite_prob writes an empty file for the LP format when no constraints are present in the model. QSwrite_prob should write a valid LP format file, or at least return an error stating that file cannot be written without constraints.