opt.classes.problems.ProblemFeasibleInitPoint

class ProblemFeasibleInitPoint(type_problem, f, constraints_ineq=None, mu=None, constraints_eq=None)[source]

Class to define problems: UCO, CICO, CECO, CIECO.

__init__(type_problem, f, constraints_ineq=None, mu=None, constraints_eq=None)[source]

Constructor for class.

Parameters
  • type_problem (str) – UCO, CICO, CECO or CIECO.

  • f (fun) – numpy definition of objective function.

  • constraints_ineq (dict) – dictionary of inequalities constraints in “<= 0” form.

  • mu (float) – parameter for logarithmic barrier if CICO, CIECO are selected.

  • constraints_eq (dict) – TBD.

Methods

__init__(type_problem, f[, ...])

Constructor for class.

solve([x, t_B, x_ast, p_ast, gf_B, Hf_B, ...])

Solve problem using initial feasible point.