def help_writers(): import pyomo.environ from pyomo.opt.base import WriterFactory wrapper = textwrap.TextWrapper() wrapper.initial_indent = ' ' wrapper.subsequent_indent = ' ' print("") print("Pyomo Problem Writers") print("---------------------") for writer in sorted(WriterFactory.services()): print(" " + writer) print(wrapper.fill(WriterFactory.doc(writer)))
def help_writers(): import pyomo.environ from pyomo.opt.base import WriterFactory wrapper = textwrap.TextWrapper() wrapper.initial_indent = ' ' wrapper.subsequent_indent = ' ' print("") print("Pyomo Problem Writers") print("---------------------") for writer in sorted(WriterFactory.services()): print(" "+writer) print(wrapper.fill(WriterFactory.doc(writer)))