Skip to content

1. Mixed Integer Programming

Easy

Description

Formulate and solve the following simple MIP model:

Maximize
    x + y + 2z

subject to constraints
    x + 2y + 3z <= 4
    x +  y      >= 1
    x, y, z binary

🚀 Test your code

Try to solve the problem below in the code editor before reading the solution.

View Answer
Objective value: 3.0
x: 1.0
y: 0.0
z: 1.0

Solutions

Comments