De presentatie wordt gedownload. Even geduld aub

De presentatie wordt gedownload. Even geduld aub

Didactisch materiaal bij de cursus Academiejaar 2010-2011 Tel: 09/264.33.85 Fax: 09/264.42.95.

Verwante presentaties


Presentatie over: "Didactisch materiaal bij de cursus Academiejaar 2010-2011 Tel: 09/264.33.85 Fax: 09/264.42.95."— Transcript van de presentatie:

1 Didactisch materiaal bij de cursus Academiejaar 2010-2011 philips@telin.UGent.be http://telin.UGent.be/~philips/optimalisatie/ Tel: 09/264.33.85 Fax: 09/264.42.95 Prof. dr. ir. W. Philips Optimalisatietechnieken

2 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 2 Copyright notice This powerpoint presentation was developed as an educational aid to the renewed course “Optimisation Techniques” (Optimalisatietechnieken), taught at the University of Gent, Belgium as of 1998. This presentation may be used, modified and copied free of charge for non-commercial purposes by individuals and non-for-profit organisations and distributed free of charge by individuals and non-for-profit organisations to individuals and non-for-profit organisations, either in electronic form on a physical storage medium such as a CD-rom, provided that the following conditions are observed: 1.If you use this presentation as a whole or in part either in original or modified form, you should include the copyright notice “© W. Philips, Universiteit Gent, 1998-2001” in a font size of at least 10 point on each slide; 2.You should include this slide (with the copyright conditions) once in each document (by which is meant either a computer file or a reproduction derived from such a file); 3. If you modify the presentation, you should clearly state so in the presentation; 4.You may not charge a fee for presenting or distributing the presentation, except to cover your costs pertaining to distribution. In other words, you or your organisation should not intend to make or make a profit from the activity for which you use or distribute the presentation; 5. You may not distribute the presentations electronically through a network (e.g., an HTTP or FTP server) without express permission by the author. In case the presentation is modified these requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the presentation, and can be reasonably considered independent and separate works in themselves, then these requirements do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the presentation, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. In particular note that condition 4 also applies to the modified work (i.e., you may not charge for it). “Using and distributing the presentation” means using it for any purpose, including but not limited to viewing it, presenting it to an audience in a lecture, distributing it to students or employees for self-teaching purposes,... Use, modification, copying and distribution for commercial purposes or by commercial organisations is not covered by this licence and is not permitted without the author’s consent. A fee may be charged for such use. Disclaimer: Note that no warrantee is offered, neither for the correctness of the contents of this presentation, nor to the safety of its use. Electronic documents such as this one are inherently unsafe because they may become infected by macro viruses. The programs used to view and modify this software are also inherently unsafe and may contain bugs that might corrupt the data or the operating system on your computer. If you use this presentation, I would appreciate being notified of this by email. I would also like to be informed of any errors or omissions that you discover. Finally, if you have developed similar presentations I would be grateful if you allow me to use these in my course lectures. Prof. dr. ir. W. PhilipsE-mail: philips@telin.UGent.be Department of Telecommunications and Information ProcessingFax: 32-9-264.42.95 University of GentTel: 32-9-264.33.85 St.-Pietersnieuwstraat 41, B9000 Gent, Belgium

3 Verzwaarde lineaire programma’s Theorie en voorbeelden

4 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 4 Verzwaarde lineaire programma’s Lineaire programma’s hebben een stelsel van lineaire beperkingen: A en B en … Verzwaarde lineaire programma’s zijn essentieel lineaire programma’s maar met bijkomende “lastige” beperkingen Eerste soort van “lastige” beperkingen: beperkingen van het “of”-type: (A en B) of C of … als-dan-beperkingen: als x j  u j dan moet x k  u k  We proberen deze te vervangen door lineaire beperkingen Tweede soort van “lastige” beperkingen: alle variabelen moeten geheel of binair zijn: “integer programming” of “zero-one programming” alles of niets beperkingen: x j = 0 of x j =u j sommige variabelen moeten geheel of binair zijn: “mixed integer programming” of “mixed zero-one programming” kan worden omgevormd worden tot “of”

5 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 5 Voorbeeld 1: “Swedish Steel”... Staal bestaat uit ijzer met een aantal additieven Elk bestanddeel mag niet te veel noch te weinig voorkomen koolstof: 0.65% tot 0.75%; nikkel: 3% tot 3.5% chroom: 1% tot 1.2%; molybdeen: 1.1% tot 1.3% Men gebruikt bij voorkeur schroot als grondstof en vult waar nodig aan met duurdere zuivere additieven Men heeft b.v. keuze uit 4 soorten schroot elk soort schroot heeft een verschillende samenstelling van twee soorten schroot is er maar een beperkte hoeveelheid (75 kg en 250 kg) voorradig men moet elk van deze twee soorten ofwel volledig opgebruiken ofwel helemaal niet gebruiken Zoek de goedkoopste oplossing om 1000 kg staal te maken

6 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 6...Voorbeeld 1: “Swedish Steel”... gewenste sa- menstelling (%) x1x1 x7x7... Beperkingen: Minimum en maximum samenstelling mengsel Beschikbare hoeveelheden Totaal gewicht (1000 kg) Kostfunctie: totale prijs van het mengsel

7 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 7...Voorbeeld 1: “Swedish Steel” koolstof: 0.65 T  0.8 x 1 + 0.7 x 2 + 0.85 x 3 + 0.4 x 4  0.75 T nikkel: 3 T  1.8 x 1 + 3.2 x 2 + 100 x 5  3.5 T … Noem x j de hoeveelheid van bestanddeel j (schroot of additief) Beperkingen: gewenste hoeveelheid: Dit is een grotendeels lineair programma alle x j niet-negatief Te minimaliseren: de kostprijs 16 x 1 + 10 x 2 + 8 x 3 + 9 x 4 + 48 x 5 + 60 x 6 + 53 x 7 En nu nog de alles-of-niets voorwaarden: x 1 = 75 y 1 en x 2 = 250 y 2 met y 1, y 2 = 0,1 Besluit: lineair programma met twee binaire variabelen

8 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 8 Voorbeeld 2: Productieprobleem... Productiekosten zijn dikwijls van de vorm   ( x ) f +c x met  ( x ) = 0 als x= 0 en   ( x ) = 1 als x > 0 geproduceerde hoeveelheid: x opstartkost: f, marginale productiekost: c x (en c > 0)  niet-lineaire kostfunctie! Modellering met lineaire kostfunctie: definieer binaire y : y= 1 als er geproduceerd wordt de kost wordt dan: f y+c x extra beperking: A: x = 0  y= 0 We vervangen de als-dan beperking A door de lineaire beperking B: x  uy met u een bovengrens voor elke mogelijke x Onderliggende idee: als y= 0 dan wordt x op nul geforceerd door B: x  uy als y= 1 dan wordt B: x  u en mag dus x  0

9 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 9 B: x = 0 en y= 0; u  x  0 en y= 1...Voorbeeld 2: Productieprobleem Zijn de twee beperkingen werkelijk equivalent? A: x = 0  y= 0 B: x  uy met u een bovengrens voor elke mogelijke x Probleem: x= 0, y= 1 is ook een oplossing geen echte beperking als u voldoende groot is  voorwaarde B is minder beperkend dan A In een realistisch kostminimalisatieprobleem geeft dit niet: x= 0, y= 1: productie opstarten en toch niets produceren x= 0, y= 1 is altijd een duurdere oplossing dan x= 0, y= 0 en zal dus nooit als optimale oplossing worden gekozen Besluit: men mag altijd mogelijke oplossingen toevoegen op voorwaarde dat deze niet optimaal kunnen zijn Mogelijke oplossingen: A: x = 0 en y= 0; x > 0 en y= 1;

10 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 10 Voorbeeld 3: Budgetteringsproblemen... Gegeven een aantal mogelijke projecten met een gekende kost en opbrengst een maximaal budget (eventueel gespreid in de tijd) Beslis welke projecten we moeten uitvoeren om een maximale opbrengst te krijgen zonder het toegelaten budget te overschrijden Dit is in essentie een knapzakprobleem Meestal zijn er echter bijkomende als-dan-beperkingen sommige projecten gebruiken de resultaten van andere: b.v.: als we project A kiezen dan moeten we ook B kiezen sommige projecten zijn mutueel exclusief

11 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 11...Voorbeeld 3: NASA mission plan... j= 4, 5: zelfde project, andere startdatum  mutueel exclusief j= 8, 11: incompatibele technologieën  mutueel exclusief j= 11 hangt af van j= 2

12 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 12 …Voorbeeld 3: Modellering... Modellering: definieer binaire beslissingsvariabelen x j : x j = 1 als project j wordt gekozen Projecten 1 …n mutueel exclusief  project j vereist i  x j  x i Besluit: ingewikkelde als-dan-beperkingen kunnen weer worden vervangen door eenvoudige lineaire beperkingen resultaat: lineair programma met enkele binaire variabelen De lineaire modellering is niet uniek: b.v. 1,2,3 mutueel exclusief  x 1 +x 2 +x 3  1  x 1 +x 2  1 en x 1 +x 3  1 en x 2 +x 3  1 Een goede keuze kan de oplossing sterk vereenvoudigen let op: enkel voor alle x j binair!

13 © W. Philips, Universiteit Gent, 1998-2011versie: 15/3/2011 04d. 13 Nasa: modellering Maximaliseer 200 x 1 + 3 x 2 + 20 x 3 + 50 x 4 + 70 x 5 + 20 x 6 + 5 x 7 + 10 x 8 + 200 x 9 + 150 x 10 + 18 x 11 + 8 x 12 + 300 x 13 + 185 x 14 mits 6 x 1 + 2 x 2 + 3 x 3 +x 7 + 4 x 9 + 5 x 12  10 (2000 tot 2004) 3 x 2 + 5 x 3 + 5 x 5 + 8 x 7 + 5 x 9 + 8 x 10 + 7 x 12 +x 13 + 4 x 14  12 (2005 tot 2009) 8 x 5 +x 6 + 4 x 10 + 2 x 11 + 4 x 13 + 5 x 14  14 (2010 tot 2014) 8 x 6 + 5 x 8 + 7 x 11 + x 13 + 3 x 14  14 (2015 tot 2019) 10 x 4 + 4 x 6 +x 13 + 3 x 14  14 (2020 tot 2024) x 4 +x 5  1 x 8 +x 11  1 x 9 +x 14  1(mutueel exclusief) x 11  x 2 x 4  x 3 x 5  x 3 x 6  x 3 x 7  x 3 (afhankelijkheden) alle x j = 0 of 1  zero-one programma


Download ppt "Didactisch materiaal bij de cursus Academiejaar 2010-2011 Tel: 09/264.33.85 Fax: 09/264.42.95."

Verwante presentaties


Ads door Google