Greife auf kostenlose Karteikarten, Zusammenfassungen, Übungsaufgaben und Altklausuren für deinen Modeling and Optimization Kurs an der TU München zu.
Writing data into excel file
SheetConnection excelFile ("Excel.xlsx");
parameterJ to SheetWrite(excelFile, "Blatt1!H3");
Reading data from excel file?
SheetConnection ExcelFile("Excel.xlsx");
parameterJ from SheetRead(ExcelFile, "Blatt1!B3");
Find the highest demand in an array?
execute{
var maxDemand = 0;
for (var i in I) {
if (demand[i] > maxDemand) {
maxDemand = demand [i];
}
}
writeln(maxDemand);
}
OPL Script Commands:
Minimum
Maximum
Round
Absolute value
Square root
Math.min(), Math.max()
Math.round()
Math.abs()
Math.sqrt()
OPL Script:
How to save time?
var d = new Date();
d.getTime();
Definition shadow price?
The shadow price of the i'th resource in the primal equals the value of the i'th decision variable in the optimal solution of the dual.
Interpretation:
In the PPP, the shadow price of the i'th resource represents the increase/decrease of total income in case we increase/decrease resoure i by one unit. Oportunity Costs
Objective Range: Definition and Calculation
Range, in which a change of income coefficient has no influence on objective.
Calculation: Income coef. - reduced costs
Definition Linear Programming?
Mathematical method to achieve the best outcome in a mathematical model for some list of requirements as linear relationship
Basic variables?
All non-zero variables
Primal -> Dual: Infeasible Primal?
Infeasible or unbounded Dual
Primal -> Dual: Unbounded vs infeasible
Primal problem in unbounded -> dual problem is infeasible
PPP: Dual Problem
what are...
... in the corresponding Primal Problem?
Greife kostenlos auf tausende geteilte Karteikarten, Zusammenfassungen, Altklausuren und mehr zu.
Jetzt loslegenFür deinen Studiengang Modeling and Optimization an der TU München gibt es bereits viele Kurse, die von deinen Kommilitonen auf StudySmarter erstellt wurden. Karteikarten, Zusammenfassungen, Altklausuren, Übungsaufgaben und mehr warten auf dich!