Difference between revisions of "Optimization for Business Problems"

From Bitnami MediaWiki
Jump to navigation Jump to search
Line 39: Line 39:
 
& \text{and} && \mathbf{x} \ge \mathbf{0}.
 
& \text{and} && \mathbf{x} \ge \mathbf{0}.
 
\end{align} </math>
 
\end{align} </math>
 +
* where c and b are vectors containing the objective coefficients and RHS values of the constraints, A is the matrix of constraint coefficients and x is the vector of decision variables.
 +
* restrictions:
 +
**objective function must be linear;
 +
**the constraints must be linear;
 +
**inequalities must be <math>\geq</math> or <math>\leq</math>, strict inequalities aren't allowed;
 +
**decision variables must be continuous, not discrete

Revision as of 21:36, 17 April 2022

The first page is here

Module 1: The Big Picture

What is OR?

  • developed by British during WWII to solve logistics problems and operational planning. OR
  • by the 1950s, "management science" replaced OR to avoid the connotation of military operations
  • OR uses: optimization, statistics, probability theory, simulation and decision analysis
  • LP is the best know mathematical optimization technique
  • Danzig (1963) formulated the simplex method; CPLEX uses a revised version of simplex algorithm
  • Most OR today done to help organizations improve their business

What is Optimization?

  • optimization model includes: an objective, decision variables, constraints
  • purpose is to find values of the decision variables, satisfy constraints and optimize the objective function (e.g., maximize profits or minimize costs/losses)
  • using model interactively allows users to judge impact of data changes & analyze trade-offs between conflicting goals and constraints
  • inputs: demand, resource availability, costs, yields, recipes, operational constraints, customer preferences, business goals
  • inputs used to construct optimization models, solved by optimization engines that generate output
  • outputs: minimize costs, maximize yields, optimal activity timing, optimal resource assignment
  • 2 IBM ILOG products: 1) mathematical programming (linear, integer, mixed-integer, quadratic, MI quadratic) and 2) constraint programming (detailed scheduling problems, combinatorial optimization problems that can't be linearized).

Optimization Model

  • begins with scope definition, then identify objectives, decision variables, constraints
  • gather data to populate model, create and test a prototype with small data set. Then create a complete instance and test
  • the objective function is a mathematical representation of the business objectives or goals to be achieved. Always entails "minimize" or "maximize"
  • bus objectives: maximize profit, minimize cost, minimize tardiness, maximize cust service
  • decision variables: how much to produce, how many people to hire, location of a warehouse
  • decision variables have a domain (range of possible values) and upper and lower bounds (infinite bounds okay)
  • constraints define relationships among decision variables. E.g.: amount produced should be less than capacity; people hired need a minimum set of skills; total construction cost should be below budget
  • hard or soft: hard constraints are inviolable, e.g., production capacity when no additional is available. Soft constraints can be violated under certain conditions and usually involve adding a penalty to the objective to minimize the constraint violation
  • IBM ILOG CPLEX optimizer is a solver engine for MP problems, including Simplex, Barrier, and Mixed-Integer algorithms. Also offers the CP optimizer for CP problems

Module 2: Linear Programming

Intro to LP

  • LP deals with max/minimization of a linear objective function, subject to linear constraints where all the decision variables are continuous. Everything is linear (no square roots, squares, logs, combined terms, etc.)
  • constraints are expressed as equalities or inequalities with linear expressions on both LHS and RHS
  • decision variables all take values from [math]\displaystyle{ \mathbb{R} }[/math]; they cannot be restricted such that they are discontinuous
  • the canonical from is
[math]\displaystyle{ \begin{align} & \text{Find a vector} && \mathbf{x} \\ & \text{that maximizes} && \mathbf{c}^T \mathbf{x}\\ & \text{subject to} && A \mathbf{x} \leq \mathbf{b} \\ & \text{and} && \mathbf{x} \ge \mathbf{0}. \end{align} }[/math]
  • where c and b are vectors containing the objective coefficients and RHS values of the constraints, A is the matrix of constraint coefficients and x is the vector of decision variables.
  • restrictions:
    • objective function must be linear;
    • the constraints must be linear;
    • inequalities must be [math]\displaystyle{ \geq }[/math] or [math]\displaystyle{ \leq }[/math], strict inequalities aren't allowed;
    • decision variables must be continuous, not discrete