// Numbas version: exam_results_page_options {"name": "Musa's SIT316 MO-Simplex Method", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Musa's SIT316 MO-Simplex Method", "tags": [], "metadata": {"description": "

This question tests the student's ability to solve Linear Programming problems by hand using the Simplex Method.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a1": {"name": "a1", "group": "part a", "definition": "random(0..5)", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "part a", "definition": "random(1..4)", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "part a", "definition": "random(8..12)", "description": "", "templateType": "anything", "can_override": false}, "b2": {"name": "b2", "group": "part a", "definition": "random(12..18)", "description": "", "templateType": "anything", "can_override": false}, "a3": {"name": "a3", "group": "part a", "definition": "random(15..18)", "description": "", "templateType": "anything", "can_override": false}, "b3": {"name": "b3", "group": "part a", "definition": "random(6..10)", "description": "", "templateType": "anything", "can_override": false}, "c11": {"name": "c11", "group": "part a", "definition": "b2-b1", "description": "", "templateType": "anything", "can_override": false}, "c12": {"name": "c12", "group": "part a", "definition": "a1-a2", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "part a", "definition": "a1*b2-a2*b1", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "part a", "definition": "a2*b3-a3*b2", "description": "", "templateType": "anything", "can_override": false}, "c3": {"name": "c3", "group": "part a", "definition": "a1*b3-a3*b1", "description": "", "templateType": "anything", "can_override": false}, "c21": {"name": "c21", "group": "part a", "definition": "b3-b2", "description": "", "templateType": "anything", "can_override": false}, "c22": {"name": "c22", "group": "part a", "definition": "a2-a3", "description": "", "templateType": "anything", "can_override": false}, "c31": {"name": "c31", "group": "part a", "definition": "b3-b1", "description": "", "templateType": "anything", "can_override": false}, "c32": {"name": "c32", "group": "part a", "definition": "a1-a3", "description": "", "templateType": "anything", "can_override": false}, "i": {"name": "i", "group": "part a", "definition": "random(1..2)", "description": "", "templateType": "anything", "can_override": false}, "x22": {"name": "x22", "group": "part a", "definition": "[a1,a2,a3]", "description": "", "templateType": "anything", "can_override": false}, "x2": {"name": "x2", "group": "part a", "definition": "x22[i]", "description": "", "templateType": "anything", "can_override": false}, "y22": {"name": "y22", "group": "part a", "definition": "[b1,b2,b3]", "description": "", "templateType": "anything", "can_override": false}, "y2": {"name": "y2", "group": "part a", "definition": "y22[i]", "description": "", "templateType": "anything", "can_override": false}, "x1": {"name": "x1", "group": "part a", "definition": "int((a1+a2+a3)/3)", "description": "", "templateType": "anything", "can_override": false}, "y1": {"name": "y1", "group": "part a", "definition": "int((b1+b2+b3)/3)", "description": "", "templateType": "anything", "can_override": false}, "ox": {"name": "ox", "group": "part a", "definition": "if(x2-x1=0, 1, x2-x1)", "description": "", "templateType": "anything", "can_override": false}, "oy": {"name": "oy", "group": "part a", "definition": "if(y2-y1=0, 1, y2-y1)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "part a", "definition": "[f1,f2,f3]", "description": "", "templateType": "anything", "can_override": false}, "f1": {"name": "f1", "group": "part a", "definition": "ox*a1+oy*b1", "description": "", "templateType": "anything", "can_override": false}, "f0": {"name": "f0", "group": "part a", "definition": "ox*a1+oy*0", "description": "", "templateType": "anything", "can_override": false}, "f2": {"name": "f2", "group": "part a", "definition": "ox*a2+oy*b2", "description": "", "templateType": "anything", "can_override": false}, "f3": {"name": "f3", "group": "part a", "definition": "ox*a3+oy*b3", "description": "", "templateType": "anything", "can_override": false}, "f4": {"name": "f4", "group": "part a", "definition": "ox*a3+oy*0", "description": "", "templateType": "anything", "can_override": false}, "f_sorted": {"name": "f_sorted", "group": "part a", "definition": "vector(sort(f))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "part a", "variables": ["a1", "b1", "a2", "b2", "a3", "b3", "c11", "c12", "c1", "c2", "c3", "c21", "c22", "c31", "c32", "i", "x22", "x2", "y22", "y2", "x1", "y1", "ox", "oy", "f", "f1", "f0", "f2", "f3", "f4", "f_sorted"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Solve the following LP problem by hand using the Simplex Method.

\n

Problem:

\n

Maximize:  $\\simplify{{ox} x + {oy} y}$

\n

subject to:

\n

$\\simplify{-{c11} x - {c12} y <= -{c1}}$

\n

$\\simplify{-{c21} x - {c22} y <= -{c2}}$

\n

$\\simplify{{c31} x + {c32} y <= {c3}}$

\n

$x \\ge 0$, $y \\ge 0$

\n

\n

Submitting your results:

\n
    \n
  1. Click on \"End Exam\" and \"Print this results summary\" (your problem will be extracted as a pdf file with all the necessary information/data). Do not worry about the \"Total 0/0 (0%)\" score, this pdf is only for generating your LP problem $\\var{y22[i]}\\var{x22[i]}\\var{f_sorted[2]}$).
  2. \n
  3. Solve the problem \"onpaper\" by hand using the Simplex Method (do not use any Computational Packages).
  4. \n
  5. Submit the above pdf, your solution steps and optimal solution - optimal point $(x_{sol},y_{sol})$ and objevtive function value $f_{sol}.$
  6. \n
", "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Musa Mammadov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4417/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Musa Mammadov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4417/"}]}