B @`@sFddlmZdgZddlZddlmZmZejj dddddZ dS) )divisioncompute_standard_repnN)preprocess_block_constraintspreprocess_block_objectivesz pyomo.repn) namespacecCs6i}x,|jddD]}t||dt||dqWdS)a. This plugin computes the standard representation for all objectives and constraints. All results are stored in a ComponentMap named "_repn" at the block level. We break out preprocessing of the objectives and constraints in order to avoid redundant and unnecessary work, specifically in contexts where a model is iteratively solved and modified. we don't have finer-grained resolution, but we could easily pass in a Constraint and an Objective if warranted. Required: model: A concrete model instance. T)active)idMapN)Zblock_data_objectsrr)datamodelrblockr ;/tmp/pip-unpacked-wheel-bi3529v6/pyomo/repn/standard_aux.pyrs )N) __future__r__all__Z pyomo.commonZpyomoZpyomo.repn.standard_repnrrcommonZ pyomo_apirr r r r  s