FlipObjective-class {CVXR} | R Documentation |
This class represents a reduction that flips a minimization objective to a maximization and vice versa.
## S4 method for signature 'FlipObjective,Problem' perform(object, problem) ## S4 method for signature 'FlipObjective,Solution,list' invert(object, solution, inverse_data)
object |
A FlipObjective object. |
problem |
A Problem object. |
solution |
A Solution to a problem that generated the inverse data. |
inverse_data |
The inverse data returned by an invocation to apply. |
perform
: Flip a minimization objective to a maximization and vice versa.
invert
: Map the solution of the flipped problem to that of the original.