BU275 Lecture Notes - Lecture 8: Linear Programming Relaxation

33 views3 pages
School
Department
Course
Professor

Document Summary

All integer: all variables are restricted to be integers; & integer. Binary: all variables are restricted to be either 0 or 1; & integer. Mixed integer: all variables are greater than 0 but only some variables are restricted to be integers or binary. Binary variables are variables that can only take values 0 or 1. These variables are used to write logical constraints. Can be used to represent the fact that you want either constraint a or constraint b to hold. Define xj = 1 if project j is selected, and 0 if not. Select at most 2 out of 5 projects: x1 + x2 + x3 + x4 + x5 2. Must select exactly 2 out of 5 projects: x1 + x2 + x3 + x4 + x5 2. Must select at least 2 out of 5 projects: x1 + x2 + x3 + x4 + x5 2.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents