Learn R Programming

CVXR (version 1.9.1)

is_mixed_integer: Check if a Problem is Mixed-Integer

Description

Returns TRUE if any variable in the problem has a boolean or integer attribute.

Usage

is_mixed_integer(problem)

Value

Logical scalar.

Arguments

problem

A Problem object.