// Numbas version: finer_feedback_settings {"name": "Musa's SIT316 Week XXX Q1", "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 Q1", "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": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"c36": {"name": "c36", "group": "Part b", "definition": "random(6..45)", "description": "", "templateType": "anything", "can_override": false}, "a32": {"name": "a32", "group": "Part b", "definition": "random(2..36)", "description": "", "templateType": "anything", "can_override": false}, "s75": {"name": "s75", "group": "Part b", "definition": "random(5..80)", "description": "", "templateType": "anything", "can_override": false}, "v100": {"name": "v100", "group": "Part b", "definition": "random(100..110)", "description": "", "templateType": "anything", "can_override": false}, "sc6": {"name": "sc6", "group": "Part b", "definition": "random(6..8)", "description": "", "templateType": "anything", "can_override": false}, "sa4": {"name": "sa4", "group": "Part b", "definition": "random(4..6)", "description": "", "templateType": "anything", "can_override": false}, "vc4": {"name": "vc4", "group": "Part b", "definition": "random(3..5)", "description": "", "templateType": "anything", "can_override": false}, "va4": {"name": "va4", "group": "Part b", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "k1": {"name": "k1", "group": "Part b", "definition": "random(1..3)", "description": "", "templateType": "anything", "can_override": false}, "k2": {"name": "k2", "group": "Part b", "definition": "k1", "description": "", "templateType": "anything", "can_override": false}, "k3": {"name": "k3", "group": "Part b", "definition": "random(10..15)", "description": "", "templateType": "anything", "can_override": false}, "b2": {"name": "b2", "group": "Part b", "definition": "random(3..6)", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "Part b", "definition": "random(4..6)", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Part b", "definition": "b1+random(2..3)", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Part b", "definition": "b1+1", "description": "", "templateType": "anything", "can_override": false}, "x1": {"name": "x1", "group": "Part b", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "x2": {"name": "x2", "group": "Part b", "definition": "random(5..8)", "description": "", "templateType": "anything", "can_override": false}, "v1": {"name": "v1", "group": "Part b", "definition": "a1*x1+b2*x2", "description": "", "templateType": "anything", "can_override": false}, "v2": {"name": "v2", "group": "Part b", "definition": "b1*x1+b2*x2", "description": "", "templateType": "anything", "can_override": false}, "c361": {"name": "c361", "group": "Part b", "definition": "v1*k1", "description": "", "templateType": "anything", "can_override": false}, "a321": {"name": "a321", "group": "Part b", "definition": "v2*k2", "description": "", "templateType": "anything", "can_override": false}, "s751": {"name": "s751", "group": "Part b", "definition": "k3*c1", "description": "", "templateType": "anything", "can_override": false}, "v1001": {"name": "v1001", "group": "Part b", "definition": "k3*b2", "description": "", "templateType": "anything", "can_override": false}, "sc61": {"name": "sc61", "group": "Part b", "definition": "k1*a1", "description": "", "templateType": "anything", "can_override": false}, "sa41": {"name": "sa41", "group": "Part b", "definition": "b1*k2", "description": "", "templateType": "anything", "can_override": false}, "vc41": {"name": "vc41", "group": "Part b", "definition": "b2*k1", "description": "", "templateType": "anything", "can_override": false}, "va41": {"name": "va41", "group": "Part b", "definition": "b2*k2", "description": "", "templateType": "anything", "can_override": false}, "fv": {"name": "fv", "group": "Part b", "definition": "k3*c1*x1+k3*b2*x2", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part b", "variables": ["c36", "a32", "s75", "v100", "sc6", "sa4", "vc4", "va4", "k1", "k2", "k3", "b2", "b1", "a1", "c1", "x1", "x2", "v1", "v2", "c361", "a321", "s751", "v1001", "sc61", "sa41", "vc41", "va41", "fv"]}, {"name": "part a", "variables": []}], "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": "

P-{c36}{a32}{s75}: You are in charge of renting Suburbans and vans for your family reunion. You know that at least {c361} children (all 7 years old and younger) are attending and that at least {a321} adults (the rest that have not confirmed have no children) are attending. Each Suburban accommodates {sc61} children, {sa41} adults and costs {s751} \\$ to rent. Each van accommodates {vc41} children, {va41} adults and costs {v1001} \\$ to rent.

\n

Set-up the linear programming problem using variables x1, x2, ...

\n

A. Objective:[[0]] [[1]]

\n


B. Give the system of constraints:

\n

for children: [[2]]$\\ge$[[9]]

\n

for adults: [[3]]$\\ge$[[10]]

\n

\n

C. Range of varables:

\n

$x_1$ is [[4]]  

\n

$x_2$ is [[5]]

\n


D. How many Suburbans and vans should be
rented to minimize cost?

\n

Suburbans: [[6]],  Vans: [[7]]

\n


E. What is the minimum cost? [[8]]

\n

", "gaps": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["Maximize", "Minimize"], "matrix": [0, "1"], "distractors": ["", ""]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{v1001}x2+{s751}x1", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x1", "value": ""}, {"name": "x2", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "0.8", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{sc61}x1+{vc41}x2 ", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x1", "value": ""}, {"name": "x2", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "0.8", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{sa41}x1+{va41}x2 ", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x1", "value": ""}, {"name": "x2", "value": ""}]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["Any number", "Integer", "0 or any positive integer", "Any positive number", "Any negative number"], "matrix": [0, 0, "0.5", 0, 0], "distractors": ["", "", "", "", ""]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["Any number", "Integer", "0 or any positive integer", "Any positive number", "Any negative number"], "matrix": [0, 0, "0.5", 0, 0], "distractors": ["", "", "", "", ""]}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "x1", "maxValue": "x1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "x2", "maxValue": "x2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "fv", "maxValue": "fv", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "0.2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{c361}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "0.2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a321}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "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/"}], "resources": []}]}], "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/"}]}