optModel = ConcreteModel()
# Define the model
...
# Write optModel to MPS in a user-specified directory and file name
???
--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
File "/projectnb/bioinfor/xg/lib/python2.7/site-packages/coopr/pyomo/base/PyomoModel.py", line 900, in write
(filename, symbol_map) = problem_writer(self, filename, solver_capability, io_options)
File "/projectnb/bioinfor/xg/lib/python2.7/site-packages/coopr/pyomo/plugins/io/cpxlp.py", line 105, in __call__
output_fixed_variable_bounds)
File "/projectnb/bioinfor/xg/lib/python2.7/site-packages/coopr/pyomo/plugins/io/cpxlp.py", line 411, in _print_model_LP
raise ValueError("Unable to find an active Suffix with name 'canonical_repn' on block: %s" % (model.cname(True)))
ValueError: Unable to find an active Suffix with name 'canonical_repn' on block: unknown