Opgave 2: Simplex-algoritme - oplossing

Vergelijkbare documenten
TU/e 2DD50: Wiskunde 2

Taak 2: LP: simplex en sensitiviteitsanalyse Voorbeeld uitwerking

TU/e 2DD50: Wiskunde 2 (1)

1. Een kortste pad probleem in een netwerk kan worden gemodelleerd als a. een LP probleem. b. een IP probleem. c. een BIP probleem. d.

TW2020 Optimalisering

Optimalisering en Complexiteit, College 11. Complementaire speling; duale Simplex methode. Han Hoogeveen, Utrecht University

Lineaire Optimilizatie Extra sessie. 19 augustus 2010

Er zijn 4 opgaven, daarna volgen blanco bladzijden die u kan gebruiken om te antwoorden.

TW2020 Optimalisering

Tentamen: Operationele Research 1D (4016)

TW2020 Optimalisering

Universiteit Utrecht Faculteit Wiskunde en Informatica. Examen Optimalisering op maandag 18 april 2005, uur.

Voorbeeld simplexmethode. Max Z = 3x 1 + 2x 2 0.5x 3 z.d.d. 4x 1 + 3x 2 + x 3 10, 3x 1 + x 2-2x 3 8, en x 1, x 2, x 3 0.

Universiteit Utrecht Departement Informatica

FOR DUTCH STUDENTS! ENGLISH VERSION NEXT PAGE

FOR DUTCH STUDENTS! ENGLISH VERSION NEXT PAGE

TW2020 Optimalisering

Sekseverschillen in Huilfrequentie en Psychosociale Problemen. bij Schoolgaande Kinderen van 6 tot 10 jaar

ICARUS Illumina E653BK on Windows 8 (upgraded) how to install USB drivers

Installatie van Windows 10 op laptops. Windows 10 installation on laptops

This appendix lists all the messages that the DRS may send to a registrant's administrative contact.

TU/e 2DD50: Wiskunde 2 (1)

MyDHL+ Uw accountnummer(s) delen

FOR DUTCH STUDENTS! ENGLISH VERSION NEXT PAGE. Toets Inleiding Kansrekening 1 8 februari 2010

TOEGANG VOOR NL / ENTRANCE FOR DUTCH : lator=c&camp=24759

1. Het aantal optimale oplossingen van een LP probleem is 0, 1, of oneindig. 2. De vereniging van twee konvexe verzamelingen is niet convex. 3.

ffl een willekeurige LP in standaard vorm kan omzetten ffl het bij een basis toebehorend tableau en de basisoplossing kan berekenen ffl de simplex alg

De Invloed van Perceived Severity op Condoomgebruik en HIV-Testgedrag. The Influence of Perceived Severity on Condom Use and HIV-Testing Behavior

Hoe met Windows 8 te verbinden met NDI Remote Office (NDIRO) How to connect With Windows 8 to NDI Remote Office (NDIRO

MobiDM App Handleiding voor Windows Mobile Standard en Pro

EM7680 Firmware Update by OTA

Global TV Canada s Pulse 2011

EM7680 Firmware Update by Micro SD card

Empowerment project. Driejarig project van Rotaryclub Rhenen-Veenendaal

Alistair LED stairwell luminaire Handleiding Alistair (Emergency UC03 sensor)

l e x e voor alle e E

1 In deze opgave wordt vijftien maal telkens drie beweringen gedaan waarvan er één juist is. Kruis de juiste bewering aan. (2pt. per juist antwoord).

Running head: INVLOED MBSR-TRAINING OP STRESS EN ENERGIE 1. De Invloed van MBSR-training op Mindfulness, Ervaren Stress. en Energie bij Moeders

Het Effect van Gender op de Relatie tussen Persoonlijkheidskenmerken en Seksdrive

Summary 124

FOR DUTCH STUDENTS! ENGLISH VERSION NEXT PAGE. Toets Inleiding Kansrekening 1 7 februari 2011

TU/e 2DD50: Wiskunde 2

Lichamelijke factoren als voorspeller voor psychisch. en lichamelijk herstel bij anorexia nervosa. Physical factors as predictors of psychological and

Bijlage A Simplex-methode

ICT in het onderwijs

Algorithms for Max-Flow

[BP-ebMS-H-000] Welke versie van Hermes moet er gebruikt worden?

Lineair programmeren met de TI-84 CE-T

Shipment Centre EU Quick Print Client handleiding [NL]

Tentamen Optimalisering (IN2520) Datum: 5 november 2004, Docent: Dr. J.B.M. Melissen

OUTDOOR HD BULLET IP CAMERA PRODUCT MANUAL

Hoe te verbinden met NDI Remote Office (NDIRO): Apple OS X How to connect to NDI Remote Office (NDIRO): Apple OS X

Alistair LED stairwell luminaire Handleiding Alistair (UC03 sensor)

EM7580 Firmware Update by Micro SD card

PDF hosted at the Radboud Repository of the Radboud University Nijmegen

TECHNISCHE UNIVERSITEIT EINDHOVEN Faculteit Wiskunde en Informatica. Examination 2DL04 Friday 16 november 2007, hours.

Classification of triangles

Firewall van de Speedtouch 789wl volledig uitschakelen?

MONTAGE INSTRUCTIE ASSEMBLY INSTRUCTION

Introductie in flowcharts

x 3 E H x 1 B A = (0,0,0) B = (1,0,0) C = (0,1,0) E = (0,0,1) I = (1,1,1/2) J = (1/2,1,1) H=(1,1/2,1) x 2

Emotionele Arbeid, de Dutch Questionnaire on Emotional Labor en. Bevlogenheid

De Samenhang tussen Dagelijkse Stress, Emotionele Intimiteit en Affect bij Partners met een. Vaste Relatie

Ethernet-kabel RJ-45 Connector Replacement

STRESS CORROSION CRACKING OF WELDED JOINTS OF Al-Mg ALLOYS

News: Tours this season!

FAAC DRIVER. Driver install procedure for FAAC boards. Installatieprocedure voor driver voor FAAC-kaarten.

LDAP Server on Yeastar MyPBX & tiptel 31xx/32xx series

ANT S KINGDOM Here is some advice for setting up your Master Ant Farm!

Alistair LED stairwell luminaire Handleiding Alistair (UC03 sensor)

Sommige praktische IP problemen kunnen worden geformuleerd als optimalisering op een netwerk.

Zo werkt het in de apotheek (Basiswerk AG) (Dutch Edition)

SAMPLE 11 = + 11 = + + Exploring Combinations of Ten + + = = + + = + = = + = = 11. Step Up. Step Ahead

MyDHL+ ProView activeren in MyDHL+

Handleiding Digipass DP310

Branch-and-Bound en Cutting Planes

Settings for the C100BRS4 MAC Address Spoofing with cable Internet.

INVLOED VAN CHRONISCHE PIJN OP ERVAREN SOCIALE STEUN. De Invloed van Chronische Pijn en de Modererende Invloed van Geslacht op de Ervaren

Tie breaking in de simplex methode

Activant Prophet 21. Prophet 21 Version 12.0 Upgrade Information

Meetkunde en Lineaire Algebra

Telenet Hotspot: login flow. Baalse Hei

Effecten van een Mindfulness-Based Stressreductie Training. op Existentiële Voldoening. Effects of a Mindfulness-Based Stress Reduction Program

Engels op Niveau A2 Workshops Woordkennis 1

Afstudeerprocedure Master Pedagogische Wetenschappen

De Invloed van Altruïsme op de Samenhang tussen Leeftijd en Mentale Veerkracht

1 OEFENING GEGEVENSBEHEER 1

Transcriptie:

Opgave 2: Simplex-algoritme - oplossing Oefening 1- a) Coefficient of x r in Current Row 0 = 0 b) Let x s be the variable entering the basis and x r the variable leaving the basis. Then (Coefficient of x s in Current Row 0) <0 (Coefficient of x r in Current Row 0) = 0 (Coefficient of x r in Pivot Row) = 1 (Coefficient of x s in Pivot Row) > 0 After the pivot, (Coefficient of x r in New Row 0) = (coefficient of x s in Current Row 0) 0 (Coefficient of x in Current Pivot Row) s Thus after the pivot x r will have a positive coefficient in row 0. c) Because x r has a positive coefficient, it will not reenter the basis. On a later pivot, however, it is possible that x r may have a negative coefficient in Row 0 and again re-enter the basis. Oefening 2- We herschrijven het model als volgt: Min z = x1 x2 Ma1 Ma2 Max z = - x1 x2 Ma1 Ma2 St 2 x1 x2 x3 a1 = 4 x1 x2 2x3 a2 = 2 Verwijder vervolgens alle artificiële variabelen uit de rij 0 om een canonieke vorm te krijgen. We krijgen dan volgend tableau: Z X1 X2 X3 A1 A2 RHS RATIO 1-3M1-2M1-3M 0 0-6M 0 2 1 1 1 0 4 4 0 1 1 2 0 1 2 1* We now enter X3 in the basis in row 2:

Z X1 X2 X3 A1 A2 RHS RATIO 1-3M/21 -M/21 0 0 3M/2-3M 0 3/2 1/2 0 1-1/2 3 2 0 1/2 1/2 1 0 1/2 1 2* We now enter X1 in the basis in row 2. Z X1 X2 X3 A1 A2 RHS 1 0 M -23M 0-13M -2 0 0-1 -3 1-2 0 0 1 1 2 0 1 2 This optimal tableau yields the optimal solution Z=2, X1=2, X2=X3=0. Oefening 3- a) In standaardnotatie hebben we het volgende LP probleem Max z = 10 x 1 x 2 s.t. x 1 s 1 = 1 20x 1 x 2 s 2 = 100 Dit impliceert dat een BFS uit twee basisvariabelen bestaat en dat we dus vier gevallen moeten beschouwen. Basisvariabelen BFS x 1, x 2 x 1 = 1, x 2 = 80 x 1, s 2 x 1 =1, s 2 = 80 x 2, s 1 x 2 = 100, s 1 = 1 s 1, s 2 s 1 =1, s 2 = 100 b) In het eerste simplex tableau zijn s 1 en s 2 de basisvariabelen. z x 1 x 2 s 1 s 2 RHS RATIO 1-10 -1 0 0 0 0 1 0 1 0 1 1*

0 20 1 0 1 100 5 Er zijn niet-basisvariabelen met negatieve coëfficiënten (in rij 0) dus de oplossing is nog niet optimaal. De ratio test geeft aan dat we s 1 als basisvariabele moeten vervangen door x 1. z x 1 x 2 s 1 s 2 RHS RATIO 1 0-1 10 0 10 0 1 0 1 0 1 0 0 1-20 1 80 80* Er zijn nog steeds niet-basisvariabelen met negatieve coëfficiënten dus de oplossing is niet optimaal. De ratio test geeft aan dat we s 2 als basisvariabele moeten vervangen door x 2. z x 1 x 2 s 1 s 2 RHS RATIO 1 0 0-10 1 90 0 1 0 1 0 1 1* 0 0 1-20 1 80 / Nog steeds is de oplossing niet optimaal en vinden we dat we x 1 vervangen door s 1. als basisvariabele moeten z x 1 x 2 s 1 s 2 RHS BV 1 10 0 0 1 100 z=100 0 1 0 1 0 1 s 1 =1 0 20 1 0 1 100 x 2 =100 Gegeven dat alle niet-basisvariabelen positieve coëfficiënten hebben, mogen we besluiten dat x 2 =100, s 1 =1, x 1 = s 2 =0 de optimale oplossing is. Bovengaande redenering toont inderdaad aan dat we alle BFSs beschouwd hebben. c) Constateer op onderstaande tekening dat er 4 extreme punten zijn in de haalbaarheidsverzameling (wat tevens de 4 BFSs zijn) en dat je inderdaad alle extreme punten moet aflopen vooraleer je de optimale oplossing gevonden hebt.

Oefening 4- LP: min z = s - 1 5s - 2 5s - 3 2s - 1 s 4 s.t. 4x 1 2x 2 s - 1 -s 1 = 32 (Arbeidsbeperking) x 2 s 3 - -s 3 = 10 4x 1 2x 2 s 4 - - s 4 = 48 (winstbeperking) Alle variabelen niet negatief Stap 1: min z = s1- s.t. 4x 1 2x 2 s 1 - -s 1 = 32 (Arbeidsbeperking) x 2 s 3 - -s 3 = 10 4x 1 2x 2 s 4 - - s 4 = 48 (winstbeperking) ( niet-negativiteitsbeperkingen)

Indien oplossing = 0 => ga naar stap 2 Indien oplossing > 0 => kies optimale oplossing Stap 2: min z = s2- s.t. 4x 1 2x 2 s 1 - -s 1 = 32 (Arbeidsbeperking) x 2 s 3 - -s 3 = 10 4x 1 2x 2 s 4 - - s 4 = 48 (winstbeperking) s1- = 0 (nl: doelstelling 1 is ok) ( niet-negativiteitsbeperkingen) Indien oplossing = 0 => ga naar stap 3 Indien oplossing > 0 => kies optimale oplossing Stap 3: min z = s3- s.t. 4x 1 2x 2 s 1 - -s 1 = 32 (Arbeidsbeperking) x 2 s 3 - -s 3 = 10 4x 1 2x 2 s 4 - - s 4 = 48 (winstbeperking) s1- = s2- = 0 (nl: doelstellingen 1 en 2 zijn ok) ( niet-negativiteitsbeperkingen) Indien oplossing = 0 => ga naar stap 4 Indien oplossing > 0 => kies optimale oplossing Stap 4: min z = s1 s.t. 4x 1 2x 2 s 1 - -s 1 = 32 (Arbeidsbeperking) x 2 s 3 - -s 3 = 10 4x 1 2x 2 s 4 - - s 4 = 48 (winstbeperking) s1- = s2- = s3- = 0 (nl: doelstellingen 1, 2 en 3 zijn ok)

( niet-negativiteitsbeperkingen) Kies optimale oplossing (Noteer dat de winstbeperking eigenlijk overbodig is.)