is_mixed_integer: Check if a Problem is Mixed-Integer

View source: R/132_problems_problem.R

is_mixed_integerR Documentation

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)

Arguments

problem

A Problem object.

Value

Logical scalar.


CVXR documentation built on March 6, 2026, 9:10 a.m.