B ÔÂ_Ïã@s0ddgZddlmZedƒZGdd„deƒZdS)ÚAbstractResultsReaderÚ ReaderFactoryé)ÚFactoryzproblem readerc@s6eZdZdZdd„Zdgfdd„Zdd„Zd d „ZdS) rz.Base class that can read optimization results.cCs ||_dS)N)Úformat)ÚselfZresults_format©rú:/tmp/pip-unpacked-wheel-d4p3hk07/pyomo/opt/base/results.pyÚ__init__szAbstractResultsReader.__init__NcCstdt|jƒƒ‚dS)Nz/Method __call__ undefined in reader for format )Ú TypeErrorÚstrr)rÚfilenameÚresÚsuffixesrrrÚ__call__szAbstractResultsReader.__call__cCs|S)Nr)rrrrÚ __enter__ szAbstractResultsReader.__enter__cCsdS)Nr)rÚtÚvÚ tracebackrrrÚ__exit__#szAbstractResultsReader.__exit__)Ú__name__Ú __module__Ú __qualname__Ú__doc__r rrrrrrrrs N)Ú__all__Z pyomo.commonrrÚobjectrrrrrÚ s