Learn R Programming

convexjlr (version 0.8.1)

Expr: Create expressions to be used for optimization problem creation

Description

Expr create expressions, which can be used later for problem creation.

Usage

Expr(x)

Arguments

x

expression to be created.

Examples

Run this code
# NOT RUN {
    convex_setup()
    x <- Variable(2)
    x1 <- Expr(x + 1)
# }

Run the code above in your browser using DataLab