Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Looking for help in how to set up the Integer Programming problem. In general, I'm focused on how to set the problem up to be

Looking for help in how to set up the Integer Programming problem. In general, I'm focused on how to set the problem up to be solved, not worried so much about a final solution.

image text in transcribed

image text in transcribed

PROBLEM 3 10): In the country of Elbonia, there are only two political parties - Tory and Whig. One of the states in Elbonia is New Elb. The governor of New Elb, a man named Gerry Mander, is trying to reconfigure its congressional districts. New Elb has 10 cities and 5 congressional representatives. The number of registered Tories and Whigs in thousands) in each city is given in the table below. City Tories Whigs OVO AWN To form a congressional district, cities must be grouped with the following restrictions: All voters in a city must be in the same district Each district must contain between 150,000 and 250,000 voters Gov. Mander is a staunch Whig. Assume that each voter always votes a straight party ticket. Formulate an IP that maximizes the number of Whigs who will win congressional seats. City Tories Whigs Difference Table 1 D1 D2 D4 80 D5 Table 2 114 $B$3+$C$3 used for every column (sum of whigs and tories) 114 114 City 1 City 2 114 104 104 114 104 84 44 City 3 City 4 City 5 154 154 154 154 NMOOS 84 84 84 D1 D2 D3 D4 OH City 1 City 2 City 3 City 4 City 5 City 6 City 7 City 8 City 9 City 10 City 6 104 104 104 104 City 7 84 City 8 94 94 94 94 City 9 124 124 124 124 City 10 134 134 134 134 Table 3 Row=150 (B15*13)+(B16*34)+(B17*15)+(B18*16) +(819*17)+(B20*18)+(B21*19)+(B22*J10)+(B23*J11)+(B24*J12)= 0 PROBLEM 3 10): In the country of Elbonia, there are only two political parties - Tory and Whig. One of the states in Elbonia is New Elb. The governor of New Elb, a man named Gerry Mander, is trying to reconfigure its congressional districts. New Elb has 10 cities and 5 congressional representatives. The number of registered Tories and Whigs in thousands) in each city is given in the table below. City Tories Whigs OVO AWN To form a congressional district, cities must be grouped with the following restrictions: All voters in a city must be in the same district Each district must contain between 150,000 and 250,000 voters Gov. Mander is a staunch Whig. Assume that each voter always votes a straight party ticket. Formulate an IP that maximizes the number of Whigs who will win congressional seats. City Tories Whigs Difference Table 1 D1 D2 D4 80 D5 Table 2 114 $B$3+$C$3 used for every column (sum of whigs and tories) 114 114 City 1 City 2 114 104 104 114 104 84 44 City 3 City 4 City 5 154 154 154 154 NMOOS 84 84 84 D1 D2 D3 D4 OH City 1 City 2 City 3 City 4 City 5 City 6 City 7 City 8 City 9 City 10 City 6 104 104 104 104 City 7 84 City 8 94 94 94 94 City 9 124 124 124 124 City 10 134 134 134 134 Table 3 Row=150 (B15*13)+(B16*34)+(B17*15)+(B18*16) +(819*17)+(B20*18)+(B21*19)+(B22*J10)+(B23*J11)+(B24*J12)= 0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

3rd Edition

0128012757, 978-0128012758

Students also viewed these Databases questions