FlipObjective-class {CVXR} | R Documentation |
The FlipObjective class.
Description
This class represents a reduction that flips a minimization objective to a maximization and vice versa.
Usage
## S4 method for signature 'FlipObjective,Problem'
perform(object, problem)
## S4 method for signature 'FlipObjective,Solution,list'
invert(object, solution, inverse_data)
Arguments
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. |
Methods (by generic)
-
perform(object = FlipObjective, problem = Problem)
: Flip a minimization objective to a maximization and vice versa. -
invert(object = FlipObjective, solution = Solution, inverse_data = list)
: Map the solution of the flipped problem to that of the original.
[Package CVXR version 1.0-14 Index]