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

This question tests the student's ability to model and solve Integer Programming problems

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "extensions": [], "variables": {"k": {"name": "k", "group": "part a", "definition": "random(1..5)", "description": "", "templateType": "anything"}, "kx": {"name": "kx", "group": "part a", "definition": "k*random(6..18)", "description": "", "templateType": "anything"}, "ky": {"name": "ky", "group": "part a", "definition": "k*10", "description": "", "templateType": "anything"}, "k5": {"name": "k5", "group": "part a", "definition": "random(1..7)", "description": "", "templateType": "anything"}, "k6": {"name": "k6", "group": "part a", "definition": "random(-10..-5)", "description": "", "templateType": "anything"}, "k1": {"name": "k1", "group": "part a", "definition": "random(0.1,0.2,0.3)", "description": "", "templateType": "anything"}, "k22": {"name": "k22", "group": "part a", "definition": "random(0.1,0.2,0.3)", "description": "", "templateType": "anything"}, "k2": {"name": "k2", "group": "part a", "definition": "random(0.6,0.7,0.8,0.9)", "description": "", "templateType": "anything"}, "k11": {"name": "k11", "group": "part a", "definition": "random(0.6,0.7,0.8,0.9)", "description": "", "templateType": "anything"}, "s": {"name": "s", "group": "part a", "definition": "k2*a+k1*b+k1*k2", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "part a", "definition": "random(10..25)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "part a", "definition": "random(5..15)", "description": "", "templateType": "anything"}, "ss": {"name": "ss", "group": "part a", "definition": "k22*a+k11*b+k11*k22", "description": "", "templateType": "anything"}, "k7": {"name": "k7", "group": "part a", "definition": "random(2..6)", "description": "", "templateType": "anything"}, "k8": {"name": "k8", "group": "part a", "definition": "random(2..6)", "description": "", "templateType": "anything"}, "sss": {"name": "sss", "group": "part a", "definition": "k7*a-k8*b+k7*k8", "description": "", "templateType": "anything"}, "fv": {"name": "fv", "group": "part a", "definition": "kx*a + ky*b", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "part a", "variables": ["k", "kx", "ky", "k5", "k6", "k1", "k22", "k2", "k11", "s", "a", "b", "ss", "k7", "k8", "sss", "fv"]}], "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 Integer Programming problem:

\n

Maximize: $\\simplify{{kx} x + {ky} y}$

\n

Subject to

\n

$ \\simplify{{k5} x - y} \\ge  \\var{k6}$

\n

$ \\simplify{100*{k2} x  + 100*{k1} y} \\le  \\var{100*s}$

\n

$ \\simplify{100*{k22} x + 100*{k11}y} \\le \\var{100*ss} $

\n

$ \\simplify{{k7} x  - {k8} y} \\le  \\var{sss}$

\n

$x,y \\ge 0$

\n

\n

Optimal solution: $x=$[[0]],  $y=$[[1]]

\n

Minimum function value: [[2]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{a}", "maxValue": "{a}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{b}", "maxValue": "{b}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{kx*a + ky*b}", "maxValue": "{kx*a + ky*b}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "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/"}]}