pybnb.pyomo.problem¶
A Base class for defining a branch-and-bound problem based on a pyomo.kernel model.
Copyright by Gabriel A. Hackebeil (gabe.hackebeil@gmail.com).
-
class
pybnb.pyomo.problem.PyomoProblem(*args, **kwds)[source]¶ An extension of the
pybnb.Problembase class for defining problems with a core Pyomo model.-
pyomo_object_to_cid¶ The map from pyomo model object to component id.
-
cid_to_pyomo_object¶ The map from component id to pyomo model object.
-
pyomo_model¶ Returns the pyomo model for this problem.
Note
This method is abstract and must be defined by the user.
-
pyomo_model_objective¶ Returns the pyomo model objective for this problem.
Note
This method is abstract and must be defined by the user.
-