This class represents a reduction that flips a minimization objective to a maximization and vice versa.

# S4 method for FlipObjective,Problem
perform(object, problem)

# S4 method for 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.