is_mixed_integer: Check if a Problem is Mixed-Integer

View source: R/142_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 Oct. 19, 2026, 5:07 p.m.