Categorizer

(class from pyomo.repn.plugins.gams_writer)

class pyomo.repn.plugins.gams_writer.Categorizer(var_list, symbol_map)[source]

Bases: object

Class for representing categorized variables.

Given a list of variable names and a symbol map, categorizes the variable names into the categories: binary, ints, positive and reals.

__init__(var_list, symbol_map)[source]

Methods

__init__(var_list, symbol_map)

Member Documentation