FlipObjective-class: The FlipObjective class.

FlipObjective-classR 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.


CVXR documentation built on June 27, 2024, 5:11 p.m.