This reduction takes as input a DGP problem and returns an equivalent DCP problem. Because every (generalized) geometric program is a DGP problem, this reduction can be used to convert geometric programs into convex form.
# S4 method for Dgp2Dcp,Problem
accepts(object, problem)# S4 method for Dgp2Dcp,Problem
perform(object, problem)
# S4 method for Dgp2Dcp
canonicalize_expr(object, expr, args)
# S4 method for Dgp2Dcp,Solution,InverseData
invert(object, solution, inverse_data)
A list of values corresponding to the DGP expression
accepts
: Is the problem DGP?
perform
: Converts the DGP problem to a DCP problem.
canonicalize_expr
: Canonicalizes each atom within an Dgp2Dcp expression.
invert
: Returns the solution to the original problem given the inverse_data.