Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Solucion Pc4 Pregunta2 Nueva
Solucion Pc4 Pregunta2 Nueva
Dim comision(1 To 4), penalf(1 To 4), penale(1 To 4), prob(1 To 4, 1 To 8), precio(1 To 4), p1(1 To 3), p2(1
To 3), p3(1 To 3), demanda(1 To 8), p11(1 To 8)
Sub Preliminary_Definitions()
Call fillarray(prob,
"{{0,0.1,0.15,0.18,0.22,0.17,0.12,0.06},{0.05,0.12,0.16,0.20,0.25,0.15,0.07,0},{0.02,0.08,0.12,0.18,0.22,0.
15,0.12,0.11}}", 1, 1)
Call fillarray(demanda, "{0, 50, 100, 150, 200, 250, 300, 350}", 1)
End Sub
Sub Model_Structure()
NSV = 2
NCT = 2
End Sub
Sub Starting_State()
s1 = 1
s2 = 600
End Sub
Sub Decision_Set()
End Sub
Sub Transition_Function()
sn1 = s1 + 1
sn2 = s2 - d
End Sub
Sub State_Constraints()
End Sub
Sub Economic_Return()
ad(s) = 0
If s1 = 1 Then
Else
End If
End If
If s1 = 2 Then
Else
End If
End If
If s1 = 3 Then
Else
End If
End If
End Sub
Sub Return_Function()
End Sub
Sub Recursive_Equation()
f(s) = maxim(Rd(s))
End Sub
Sub Boundary_Conditions()
End Sub