(function from pyomo.contrib.incidence_analysis.config)
pyomo.contrib.incidence_analysis.config
Get an instance of IncidenceConfig from provided keyword arguments.
If the method argument is IncidenceMethod.ampl_repn and no AMPLRepnVisitor has been provided, a new AMPLRepnVisitor is constructed. This function should generally be used by callers such as IncidenceGraphInterface to ensure that a visitor is created then re-used when calling get_incident_variables in a loop.
method
IncidenceMethod.ampl_repn
AMPLRepnVisitor
IncidenceGraphInterface
get_incident_variables