ekskurzija u zagreb
Download
Skip this Video
Download Presentation
Ekskurzija U ZAGREB

Loading in 2 Seconds...

play fullscreen
1 / 12

Ekskurzija U ZAGREB - PowerPoint PPT Presentation


  • 117 Views
  • Uploaded on

Ekskurzija U ZAGREB. EKskurzija. u čenici iz Češke j edno noćenje u Zagrebu Velika grupa - dva hotela PROBLEM: m inimalan trošak u dovoljiti zahtjevima učenika. HOTEL dubrovnik. HOTEL Westin. Određivanje uvjeta – Hotel Dubrovnik. x1 <= 50 x2 <= 30 x3 <= 20 x1 >= 0 x2 >= 0

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Ekskurzija U ZAGREB' - coye


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
ekskurzija
EKskurzija
  • učenici iz Češke
  • jedno noćenje u Zagrebu
  • Velika grupa - dva hotela
  • PROBLEM:
  • minimalan trošak
  • udovoljiti zahtjevima učenika
odre ivanje uvjeta hotel dubrovnik
Određivanje uvjeta – Hotel Dubrovnik
  • x1 <= 50
  • x2 <= 30
  • x3 <= 20
  • x1 >= 0
  • x2 >= 0
  • x3 >= 0

x1 = jednokrevetna soba

x2 = dvokrevetna soba

x3 = trokrevetna soba

odre ivanje uvjeta hotel westin
Određivanje uvjeta – Hotel Westin
  • y1 <= 70
  • y2 <= 55
  • y4 <= 10
  • y5 <= 15
  • y1 >= 0
  • y2 >= 0
  • y4 >= 0
  • y5 >= 0

y1 = jednokrevetna soba

y2 = dvokrevetna soba

y4 = četverokrevetna soba

y5 = peterokrevetna soba

slide7
CIlj
  • Najjeftinije rasporediti učenike u dva hotela tako da su u jednoj sobi osobe istog spola i tako da udovoljimo njihovim željama.

min (79x1 + 95x2 + 123x3 + 71y1 + 98y2 + 143y4 + 160y5)

x1 + 2x2 + y1 + 2y2 + 4y4 >= 200

2x2 + 3x3 + 2y2 + 5y5 >= 150

broj u enika
Broj UČENIKA

x1 + 2x2 + 3x3 + y1 + 2y2 + 4y4 + 5y5 >= 350

x1 + 2x2 + 3x3 + y1 + 2y2 + 4y4 + 5y5 <= 355

slide9

Minimize f = 79x1 + 95x2 + 123x3 + 71y1 + 98y2 + 143y4 + 160y5

x1 + x2 + x3 <= 100

y1 + y2 + y4 + y5 <= 150

x1 <= 50

x2 <= 30

x3 <= 20

x1 >= 0

x2 >= 0

x3 >= 0

y1 <= 70

y2 <= 55

y4 <= 10

y5 <= 15

y1 >= 0

y2 >= 0

y4 >= 0

x1 + 2x2 + 3x3 + y1 + 2y2 + 4y4 + 5y5 >= 350

x1 + 2x2 + 3x3 + y1 + 2y2 + 4y4 + 5y5 <= 355

x1 + 2x2 + y1 + 2y2 + 4y4 >= 200

2x2 + 3x3 + 2y2 + 5y5 >= 150

Cijena = 14885€

X1 = 0

X2 = 30

X3 = 20

Y1 = 5

Y2 = 55

Y4 = 10

Y5 = 15

slide11

Cijena = 14885€

X1 = 0

X2 = 30

X3 = 20

Y1 = 5

Y2 = 55

Y4 = 10

Y5 = 15

Cijena = 14956€

X1 = 0

X2 = 30

X3 = 20

Y1 = 6

Y2 = 55

Y4 = 10

Y5 = 15

slide12

Hvala na pažnji!

Lea Rački, Ana Kvesić, Doroteja Gudlek, Leo Pleše 

ad