Get startedGet started for free

Understanding integrality

The integrality argument of the milp() function ensures that the variables in the objective function are treated as integers, or discrete variables.

What is a consequence of omitting this argument when performing optimization?

This exercise is part of the course

Introduction to Optimization in Python

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise