• Non ci sono risultati.

Software exercises

N/A
N/A
Protected

Academic year: 2021

Condividi "Software exercises"

Copied!
1
0
0

Testo completo

(1)

Operations Research

Mauro Gaggero Software Exercises

Exercise 1

Solve the following linear programming problem using Lingo, Excel, and Matlab. min x1,x2∈R x1+ 2x2 x1+ x2 ≥2 x1− x2 ≤0 x1 ≥0 x2 ≥0 Exercise 2

Solve the following linear programming problem using Lingo, Excel, and Matlab. max x1,x2∈R x1− x2 −2x1+ x2 ≤2 x2≤1 x1≥0 x2≥0 Exercise 3

Use the Matlab Optimization Toolbox (function fminunc) to solve the following unconstrained nonlinear programming problem. Check when a minimum point is found (either local or global) and the number of iterations. Use as initial condition first x0

= −5 and then x0 = +1. min x∈R x4−23x2−18x + 40 Exercise 4

Use the Matlab Optimization Toolbox (function fminunc) to find the optimal point for the Rosenbrock banana function with a = 1. Use x0

1 = 5 and x 0 2 = 3 as initial condition. min x∈R2 a(x2− x21)2+ (x1−1)2 Exercise 5

Use the Matlab Optimization Toolbox (function fmincon) to find the optimal point for the Rosenbrock banana function with a = 1 and constraint x2

1≥2.

Riferimenti

Documenti correlati

El eje 1 discrimina entre las representaciones proporcionadas por Il Giornale y La Stampa, mientras que los dos periódicos ideológicamente orientados, L’Unità (izquierda) y

P-VASS-MDP df P-VASS-MDP 1-VASS-MDP sure reachability × (Thm. Decidability of verification problems for P-VASS-MDP, deadlock-free P-VASS- MDP and 1-VASS-MDP.. Monotonic and

[r]

Remark 3.18 Proposition 3.17 says that the general integral of the nonhomogeneous linear system is the general integral of the associated homogeneous system (which is a vectorial

(a) For t = 1 find the unit tangent vector, the unit normal vector, and express the acceleration vector as linear combination of them.. Moreover, the curve passes through

We started from the Simple Plant Location to create a mathematical model for our real problem, but we needed to add some more constraints due to more particular requests: we had

the mountain climbing schema: first solution is obtained by a CP search using Gecode; Large Neighbor- hood definition parametric to N (neighborhood dimension) and maxF (stop

We need different methods for models with integer or binary variables..!. n ⇒