Learn R Programming

sybil (version 2.0.0)

backupProb-methods: Copies a Problem Object to a New Problem Object

Description

Copies a problem object into a new problem object.

Usage

# S4 method for optObj_clpAPI
backupProb(lp)

# S4 method for optObj_cplexAPI backupProb(lp)

# S4 method for optObj_glpkAPI backupProb(lp)

# S4 method for optObj_lpSolveAPI backupProb(lp)

Arguments

lp

An object extending class '>optObj.

Value

An object of the same class as given in argument lp (extending class '>optObj).

Methods

signature(lp = "optObj_clpAPI")

method to use with package optObj_clpAPI.

signature(lp = "optObj_cplexAPI")

method to use with package optObj_cplexAPI. The new problem object will be in the same CPLEX environment like the original one.

signature(lp = "optObj_glpkAPI")

method to use with package optObj_glpkAPI. Building a new problem object will reset all parameters to their default. After backing up, set all parameters which are not at their default values again.

signature(lp = "optObj_lpSolveAPI")

method to use with package optObj_lpSolveAPI.

See Also

Superclass '>optObj and constructor function optObj.