B @` @sdddlZddlmZddlmZddlmZddlmZe dZ ej ddd Gd d d eZ dS) N) SolverFactory) Executable)Options)ASLz pyomo.solverspathzNonlinear MCP solver)docc@s(eZdZdZddZddZddZdS) PATHAMPLz$An interface to the PATH MCP solver.cKs0d|d<tj|f|d|_t|_d|j_dS)NrtypeFT)r__init__Z _metasolverrZ _capabilitiesZlinear)selfkwdsr ?/tmp/pip-unpacked-wheel-bi3529v6/pyomo/mpec/plugins/pathampl.pyr s zPATHAMPL.__init__cCs.td}|s&td|jd|_dS|S)NpathamplzKCould not locate the 'pathampl' executable, which is required for solver %sF)rloggerwarningnameenabler)r executabler r r_default_executable&s zPATHAMPL._default_executablecCsd|j_t|||S)Nr)optionsZsolverrcreate_command_line)r rZ problem_filesr r rr/szPATHAMPL.create_command_lineN)__name__ __module__ __qualname____doc__r rrr r r rrs  r) loggingZpyomo.opt.base.solversrZ pyomo.commonrZpyomo.common.collectionsrZ!pyomo.solvers.plugins.solvers.ASLr getLoggerrregisterrr r r r s