Learn R Programming

CVXR (version 1.0)

FlipObjective-class: The FlipObjective class.

Description

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

Usage

# 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: Flip a minimization objective to a maximization and vice versa.

  • invert: Map the solution of the flipped problem to that of the original.