# Check the code if it is correct gams

sets i/1*40/, g/1*4/;

alias (i,j)

parameters a(i)/1 210,2 385,3 270,4 175,5 200,6 190,7 160,8 410,9 295,10 160,11 360,12 150,13 235,14 315,15 340,16 260,17 275,18 185,19 290,20 220,21 680,22 1240,23 1680,24 1090,25 2100,26 1950,27 2821,28 1730,29 1450,30 860,31 525,32 265,33 300,34 870,35 600,36 450,37 220,38 485,32 230/,

s(g)/1 7000,2 7000,3 7000,4 7000/;

scalar delta;

delta = 14;

free variable y(i);

positive variable d(i,j);

binary variable x(i,g);

free variable z;

equations con1(i),con2(g),con3(i),con4(i,j),con5(i,j),con6(g),con7,con8(g),con9,obj;

con1(i).. sum(g,x(i,g)) =e= 1;

con2(g).. sum(i,(a(i)*x(i,g))) =l= s(g);

con3(i).. y(i) =e= sum(g,ord(g)*x(i,g));

con4(i,j)\$(ord(i) ne ord(j))..d(i,j) =g=  delta*(y(i)-y(j));

con5(i,j)\$(ord(i) ne ord(j))..d(i,j) =g=  delta*(y(j)-y(i));

con6(g).. x(’21’,g)+x(’22’,g)+x(’23’,g)+x(’24’,g)+x(’25’,g)+x(’26’,g)+x(’27’,g)+x(’28’,g)+x(’29’,g) =e= 9;

con7.. x(‘4′,1)+x(’10’,1) =l= 1;

con8(g).. x(’13’,g)+x(’24’,g) =l= 1;

con9.. x(‘9′,2)-x(’13’,2) =e= 0;

obj.. z =e= sum((i,j)\$(ord(i) ne ord(j)), d(i,j));

model floor_assign_mdl/

con1,

con2,

con3,

con4,

con5,

con7,

con8,

con9,

obj/;

option mip = cplex;

solve floor_assign_mdl using mip minimizing z;

display x.l ;

Using our essay writing service

Our working experience, customer feedback, and market resources have brought about the creation of our exclusive online services. Have you ever wanted to do all of your homework to the best of your abilities but got stuck on the very first task on your to-do list? We know that you deserve your rest, quality time and we are ready and able to handle all your research and academic requirements.

Writing papers is a common source of headaches for students everywhere, especially if they intend to produce something their instructor would consider “excellent”. If you seek professional help with your essays, know that our essay writing service is 24/7 ready to take on your task. Our skilled writers can help you with any assignment you may find hard. Discover what benefits you get by asking us to complete your paper.

Timely delivery

We have delivered more than 98% of student’s papers before the deadline so far. Order your writing task from us and we will send it exactly when you expect it. Great result in a short timeframe. We’re here for you day and night. Connect with customer support round the clock for any orders or urgent questions.

For that professional touch, we go over all finished work check spelling grammar, and formatting to make sure the assignment looks polished and excellent. All our essays are checked for plagiarism before hand over as well an extra set of experts in our QA department to examine the quality.

Re-writing

If you have done the research and need our specialist to make it worthy of top marks, we will completely rewrite your paper while we guarantee originality. Ask your writer for adjustments and you will have them in no time.

Flexible prices

We often write papers at a client-friendly price on our website, and you can always choose a longer deadline to save a bit on the price of your order. The more pages you order also reduces the price considerably.

Customer satisfaction

We know that half of the process depends on customers and their ability to articulate instructions effectively. Their views on desired final products must be made clear to the writers. The diversity of the orders we receive has also enabled us to largely improve our analytical and research capabilities. Working in the field of academic assistance for a relatively long period we understand that the customer can effectively manage the orders by consistent communication with the writer.

We offer a convenient, simple, and unique platform for collaboration between customers and professional writers willing and able to dedicate their skills towards customers’ academic success. Our company support team, as well as regulations, are excellent and easy to work with for the customer thus fostering professionalism. Our focus is to be a reliable partner and create a long-term cooperation with you. For those pursuing personal development, we look forward to offering you numerous interesting projects and opportunities for self-improvement.

Our company is one of the largest and most reliable essay writing services in the world. We provide all forms of assignment help including essay writing, research writing help, calculations help, statistics help, and custom essays help. We have provided custom writing services to thousands of students around the world. We are also among the most affordable essay help service in the world.

Use our service today and experience from academic experts.

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

### Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.