CommencerCommencer gratuitement

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?

Cet exercice fait partie du cours

Introduction to Optimization in Python

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice