decogo.pyomo_input_model.nlp_master_problem

This modules implements NLP master problem

Classes

NlpProblem(sub_models, cuts)

A class for defining the NLP master problem.

class decogo.pyomo_input_model.nlp_master_problem.NlpProblem(sub_models, cuts)[source]

A class for defining the NLP master problem. Used for obtaining solution with fixed or relaxed integer variables.

\[\begin{equation} \begin{split} \min \ &c^Tx,\newline &x \in P \cap G \end{split} \end{equation}\]
Parameters
  • sub_models (list) – List of sub-models

  • cuts (CutPool) – Container which stores all linear constraints (global and local) and objective function

__init__(sub_models, cuts)[source]

Constructor method

set_default_objective()[source]

Sets a linear objective function with the costs given from the original formulation