# Binary LP Problem

#### MeraSJ

##### New Member
Hi there!

I'm looking for an answer with one binary LP problem.
I have 5 police cars and 3 emergency calls and the distances each car travels towards each call. I know that I have to minimize the distance and make the constrains such as sums of all the car distances must be less or equal to 1 and sums of all call must be more or equal to 1, and the binary constrain for each variable.. but excel refused give an answer..
Someone has an idea how can I solve my problem?
distances are:
call 1 call 2 call 3
car 1 10 11 18
car 2 6 7 7
car 3 7 8 5
car 4 5 6 4
car 5 9 4 7

### Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I trust that you only wanted to dispatch 3 cars. The model's constraints are saved in column G...
Book1
ABCDEFGHIJKLM
1call1call2call314
2car110111815
3car2677TRUE
4car3785TRUE
5car4564TRUE
6car5947100
7
8call1call2call3
9car10000
10car20000
11car30011
12car41001
13car50101
14111
15
1614
17
Sheet5

Replies
5
Views
218
Replies
3
Views
461
Replies
7
Views
1K
Replies
12
Views
635
Replies
5
Views
385

1,203,453
Messages
6,055,533
Members
444,794
Latest member
HSAL

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back