A Lagrangean Based Branch-and-Cut Algorithm for Global Optimization - - PowerPoint PPT Presentation

a lagrangean based branch and cut algorithm for global
SMART_READER_LITE
LIVE PREVIEW

A Lagrangean Based Branch-and-Cut Algorithm for Global Optimization - - PowerPoint PPT Presentation

A Lagrangean Based Branch-and-Cut Algorithm for Global Optimization of Nonconvex Mixed-Integer Nonlinear Programs with Decomposable Structures Ramkumar Karuppiah and Ignacio E. Grossmann Department of Chemical Engineering Carnegie Mellon


slide-1
SLIDE 1

Carnegie Mellon

Ramkumar Karuppiah and Ignacio E. Grossmann Department of Chemical Engineering Carnegie Mellon University Workshop on Global Optimization: Methods and Applications Fields Institute May 2007

A Lagrangean Based Branch-and-Cut Algorithm for Global Optimization of Nonconvex Mixed-Integer Nonlinear Programs with Decomposable Structures

slide-2
SLIDE 2
  • Carnegie Mellon

v

Many real-world optimization problems are nonconvex

§

Have multiple local optima

§

Hard to converge to global optimum

v

Many of these models have decomposable structures

§

2-stage stochastic programming problems

§

Planning and Scheduling models

§

Engineering design models

v

Models are large in size and hard to solve to global optimality scaling issue GOAL: GOAL: Develop an algorithm to globally optimize large-scale models by exploiting decomposable structure

Introduction

Examples: Water Networks and Crude Oil Scheduling

slide-3
SLIDE 3
  • Carnegie Mellon

n u n v

m n I m n U n n L n J U L n n n n n n n n n n n n N n n n n

R u R x N n v N n u u u y x x x N n v u y x g N n v u y x h N n v u g N n v u h t s v u r y x s z ∈ ∈ = ∈ = ≤ ≤ ∈ ≤ ≤ = ≤ ′ = = ′ = ≤ = = + =

  • =

, , , 1 } 1 , { , , 1 } 1 , { , , 1 ) , , , ( , , 1 ) , , , ( , , 1 ) , ( , , 1 ) , ( . . ) , ( ) , ( min

1

  • n

h n v n u

q m m n

R R h →

+

:

n g n v n u

q m m n

R R g →

+

:

n h n v n u

q m m J I n

R R h

→ ′

+ + +

:

n g n v n u

q m m J I n

R R g

→ ′

+ + +

:

{ }

N n n

u

, , 1 =

(P)

{ }

N n n

v

, , 1 =

Linking Variables Non-Linking Variables

I i x x

i

, , 1 ] [

  • =

=

J j y y

j

, , 1 ] [

  • =

=

Linking constraints Non-Linking Constraints Link together sub-models Binary variables Constraints for separate sub-models MINLP Non-convex model

Problem Description

slide-4
SLIDE 4
  • Carnegie Mellon

Models are large and often difficult to solve to global optimality

§

Exploit decomposable structure of the large-scale model

Direct application of deterministic global optimization algorithms (spatial branch and bound) not effective

Computationally inefficient

Major reason:

Weak lower bounds from MI(N)LP relaxation of (P) constructed with convex envelopes

Alternative approach: Lagrangean Decomposition

Optimization of MINLP model

slide-5
SLIDE 5
  • Carnegie Mellon

v

Introduce Coupling constraints into model (P)

v

Create N identical copies of the linking variables

Duplicate variables

New coupling constraints

How to bring (P) to decomposable form ?

} , , , {

2 1 N

x x x

  • }

, , , {

2 1 N

y y y

  • v

Write linking constraints in (P) in terms of Duplicate Variables

N

x x x = = =

  • 2

1 N

y y y = = =

  • 2

1

n u n v

m n I n m n U n n L n J n U n L n n n n n n n n n n n n n n n n n n n n N n n n n N n n n n RP

R u R x N n v N n u u u N n y N n x x x N n y y N n x x N n v u y x g N n v u y x h N n v u g N n v u h t s v u r y x s w z ∈ ∈ = ∈ = ≤ ≤ = ∈ = ≤ ≤ − = = − − = = − = ≤ ′ = = ′ = ≤ = = + =

+ + = =

  • ,

, , 1 } 1 , { , , 1 , , 1 } 1 , { , , 1 1 , , 1 1 , , 1 , , 1 ) , , , ( , , 1 ) , , , ( , , 1 ) , ( , , 1 ) , ( . . ) , ( ) , ( min

1 1 1 1

  • 1

1

1

≤ ≤ =

  • =

n N n n

w w

(RP)

Model Reformulation

slide-6
SLIDE 6
  • Carnegie Mellon

v

Dualize Coupling constraints

§ Multiply coupling constraints with Lagrange multipliers, transfer them to

  • bjective function

v

Obtain decomposable Lagrangean relaxation

n u n v

m n I n m n U n n L n J n U n L n n n n n n n n n n n n n n n n N n n n T y n N n n n T x n N n n n n N n n n n LRP

R u R x N n v N n u u u N n y N n x x x N n v u y x g N n v u y x h N n v u g N n v u h t s y y x x v u r y x s w z ∈ ∈ = ∈ = ≤ ≤ = ∈ = ≤ ≤ = ≤ ′ = = ′ = ≤ = = − + − + + =

= + − = + = =

, , , 1 } 1 , { , , 1 , , 1 } 1 , { , , 1 , , 1 ) , , , ( , , 1 ) , , , ( , , 1 ) , ( , , 1 ) , ( . . ) ( ) ( ) ( ) ( ) , ( ) , ( min

1 1 1 1 1 1 1 1

  • λ

λ

= + − = + = =

− + − + + =

1 1 1 1 1 1 1 1

) ( ) ( ) ( ) ( ) , ( ) , ( min

N n n n T y n N n n n T x n N n n n n N n n n n LRP

y y x x v u r y x s w z λ λ

Lagrange Multipliers

Lagrangean Decomposition

(LRP)

slide-7
SLIDE 7
  • Carnegie Mellon

v

Decomposed sub-problems (fixed multipliers) Smaller and easier to solve

N n R u R x v u u u y x x x v u y x g v u y x h v u g v u h t s y x v u r y x s w z

n u n v

m n I n m n U n n L n J n U n L n n n n n n n n n n n n n n n n n T y n y n n T x n x n n n n n n n n

, , 1 , } 1 , { } 1 , { ) , , , ( ) , , , ( ) , ( ) , ( . . ) ( ) ( ) ( ) ( ) , ( ) , ( min

1 1

  • =

∈ ∈ ≤ ≤ ∈ ≤ ≤ ≤ ′ = ′ ≤ = − + − + + =

− −

λ λ λ λ

(SPn) Lower bound (Lagrangean Decomposition) :

0 = x

λ

0 = y

λ

=

x N

λ =

y N

λ

* n

z

LB N n n

z z =

  • =1

*

Globally Optimize each sub-model to get solution

Model Decomposition

Could use as a basis for B&B (Caroe and Schultz, 99)

slide-8
SLIDE 8
  • Carnegie Mellon

Branch and Cut Algorithm

Lower Bound : Solve MIL(N)P relaxation with convexified Lagrangean cuts Guaranteed to converge to global optimum given a tolerance ε between lower and upper bounds Upper Bound : Feasible solution to nonconvex model which is obtained by globally solving NLP with fixed integer variables

v

Strengthen MI(N)LP relaxation of (P) with Lagrangean cuts

v

Combine Spatial branch and bound with Lagrangean decomposition

At each node of search tree: Cut Generation : Solve to global optimality dual subproblems for

  • ne or more sets of multiplier values

Basic Ideas of Proposed Algorithm

slide-9
SLIDE 9
  • Carnegie Mellon

v

Using solution (Globally optimal solution of subproblem (SPn)) derive cuts:

v

Combine convex relaxations and Lagrangean decomposition

* n

z

) ( ) ( ) ( ) ( ) , ( ) , (

1 1 *

y x v u r y x s w z

T y n y n T x n x n n n n n n − −

− + − + + ≤ λ λ λ λ (Cn)

v

Update Lagrange multipliers (Fisher, 1981) and generate more cuts

Optimality based Cutting Planes

Note: nonconvex cut written in terms of original coupling variables

slide-10
SLIDE 10
  • Carnegie Mellon

v

Add bound strengthening cuts to (P) and convexify resulting problem to get MI(N)LP relaxation (R) (R)

v

Solve model (R) to get a valid lower bound on the global optimum of (P)

n u n v

m n I m n U n n L n J U L T y n y n T x n x n n n n n n n n n n n n n n n n n n N n n n n R

R u R x N n v N n u u u y x x x N n y x v u r y x s w z N n v u y x g N n v u y x h N n v u g N n v u h t s v u r y x s z ∈ ∈ = ∈ = ≤ ≤ ∈ ≤ ≤ = − + − + + ≤ = ≤ ′ = = ′ = ≤ = = + =

− − =

  • ,

, , 1 } 1 , { , , 1 } 1 , { , , 1 ) ( ) ( ) ( ) ( ) , ( ) , ( , , 1 ) , , , ( , , 1 ) , , , ( , , 1 ) , ( , , 1 ) , ( . . ) , ( ) , ( min

1 1 * 1

  • λ

λ λ λ (.) s

(.)

n

r

(.) =

n

h

(.) ≤

n

g (.) = ′

n

h (.) ≤ ′

n

g

Convexified functions

Incorporation of Cutting Planes

slide-11
SLIDE 11
  • Carnegie Mellon

Theorem 1. The Lagrangean cuts are valid, and do not cut off any portion of the MIP feasible region of MINLP model (P) Proposition 1. The lower bound obtained by solving MI(N)LP with cuts is at least as strong as the one obtained by solving the MILP relaxation (CR) obtained by convexifying the nonconvex terms Proposition 2. The lower bound obtained by solving MI(N)LP with cuts is at least as strong as the lower bound obtained from Lagrangean decomposition when all N sub-models are solved to global optimality.

Remarks

1. Cuts can be generated by solving subproblems in parallel 2. Update Lagrange multipliers: extension of method by Fisher (1981)

  • 3. Global solution of subproblems can be obtained with standard solvers (BARON)

) ( ) ( ) ( ) ( ) , ( ) , (

1 1 *

y x v u r y x s w z

T y n y n T x n x n n n n n n − −

− + − + + ≤ λ λ λ λ

(Cn)

Properties of Lagrangean Cuts

slide-12
SLIDE 12
  • Carnegie Mellon

v

Usually weak relaxations Upper and Lower bounds are far apart

v

Linearize nonlinear terms and use convex envelopes

Upper bound (Feasible solution)

McCormick, 1976 Tawarmalani and Sahinidis, 2002

Lower bound (Infeasible solution)

MINLP model MI(N)LP relaxation

Constructing a Relaxation

slide-13
SLIDE 13
  • Carnegie Mellon

Upper bound (Feasible solution) Initial Lower bound (Infeasible solution) New Lower bound

Incorporate cutting planes to tighten relaxation

Geometric Interpretation

slide-14
SLIDE 14
  • Carnegie Mellon

Step 1. Initialization: Setting of variable bounds At each node of the branch and bound tree Step 2. Bound contraction (Optional) Step 3. Formulation of Lagrangean relaxation and decomposition:

a. Derive model (LRP) and decompose into separate sub-problems b. Solve each smaller sub-problem to global optimality c. Generate cutting planes and add to (P) to get model (P')

Step 4. Lower bound: Convexify model (P') to get model (R) and solve (R) to obtain a lower bound on the solution

Branch and Cut Algorithm

slide-15
SLIDE 15
  • Carnegie Mellon

Step 5. Upper bound: Fix binary variables in (P) to the values obtained by solving (R) and globally optimize the resulting nonconvex NLP At each node of the branch and bound tree Step 6. Termination: Fathom node – Convergence: Guaranteed for ε - convergence

Feasible region is continuously partitioned into sub-regions with non-decreasing lower bounds obtained over each sub-region

a. If LB ≥UB b. Optimality gap ≤ε c. Solution of sub-problems is feasible for model (RP) i.e. non-anticipativity constraints hold in relaxation (LRP)

Step 7. Branching: Similar to technique by Caroe and Schultz (1999)

§ Branch on linking variables following heuristics

Branch and Cut Algorithm

slide-16
SLIDE 16
  • Carnegie Mellon

v

Combine proposed algorithm (involving cutting planes) with conventional Lagrangean decomposition

Example : Problem (P) contains 10 sub-models

1 9 10 2 5 3 4 7 6 8 1. Decompose (P) into only 6 sub-problems as opposed to 10 sub-problems

  • Sub-problem (P5) (collection of 5 sub-problems) , and 6, 7, 8, 9, 10
  • 2. Solve (P5) using proposed algorithm (cutting plane technique) and 6, 7, 8, 9, 10

using BARON 3. Add global optima of sub-problems to obtain valid lower bound on solution 1 2 5 3 4 6 7 8 9 10

(P5)

* 8

z

* 9

z

* 6

z

* 7

z

* 5 P

z

* 10

z

v

In this way lower bounding problem at any node does not have to be solved in full space

* 10 * 9 * 8 * 7 * 6 * 5

z z z z z z bound Lower

P

+ + + + + =

Remark: Lower Bounding Problem in Reduced Space

slide-17
SLIDE 17
  • Carnegie Mellon

1 binary variable, 19 continuous variables, 10 constraints, 15 nonconvex terms

Linking variables

9 5 . 1 8 . 7 15 . 10 2 . 7 2 7 . 8 2 . 3 3 5 . 2 5 . 5 25 . 4 2 9 . 1 1 5 5 . 2 1 13 5 . 5 . 2 . 11 3 . 1 5 . 3 5 . 1 5 . 4 5 . 3 5 . 1 } 1 , { 5 s constraint Linking 5 3 equations linking Non 4 3 4 3 5 2 5 5 5 4 4 3 . . 11 3 9 5 6 2 7 5 min

36 26 16 35 25 15 34 24 14 33 23 13 32 22 12 31 21 11 31 21 11 34 32 33 31 36 33 35 32 34 31 26 25 24 22 23 21 26 23 25 22 24 21 13 11 16 13 15 12 14 11 34 31 24 21 14 11

≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ≤ ∈ ≤ ≤

≤ ≥ ≥ ≥ −

  • =

− + = + − + = − − + = + − − = − = + + − + + + + + + + = u u u u u u u u u u u u u u u u u u y x y x y u x u x u x u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u t s u u u u u u y x z EP

Non-linking variables

36 26 16 33 23 13 35 25 15 32 22 12 34 24 14 31 21 11

, , , , , , , , , , , , u u u u u u u u u u u u u u u u u u

y x,

Illustrative Problem

(EP) Bilinear

slide-18
SLIDE 18
  • Carnegie Mellon

v

Formulate Lagrangean relaxation and decompose into 3 sub-models and solve each sub-model with 2 sets of Lagrange multipliers Lower and Upper bounds converge within 1 % tolerance at root node of Branch and Bound tree

§

Generate 6 cutting planes Lower bound (LB) using algorithm = 64.01 Upper bound (UB) obtained = 64.499

LB (using Lagrangean decomposition) = 63.33 LB (from MI(N)LP relaxation) = 61.63

Root node results

vs

Comparison with standard relaxations

LB (using cutting planes) = 64.01

Numerical Results

slide-19
SLIDE 19
  • Carnegie Mellon

2222 . 3 ≤ ≤ x 5 6666 . 3 ≤ ≤ x

2222 . 3 074 . 3 ≤ ≤ x

1 6

5 ≤ ≤ x

zR = 64.01 zUB = 64.499

2 5 3 4

zR = 67.48973 zUB = 67.832 zR = 65.36749 zUB = 65.61 zR = 64.7746 zUB = 64.869 zR = 64.1563 zUB = 64.499 zR = 64.36722 zUB = 64.499 zR = 64.4413 zUB = 64.499

PRUNED PRUNED PRUNED

6666 . 3 2222 . 3 ≤ ≤ x

074 . 3 ≤ ≤ x

6666 . 3 ≤ ≤ x

PRUNED

Relaxation gap reduced to 0.1 %

Branch and Bound Tree

slide-20
SLIDE 20
  • Carnegie Mellon

Comparison of relaxations

Test Examples

6 test examples

1167 381 57 4 928 764 24 5 1377 1222 77 6 10 19 1 1 994 330 42 3 946 300 48 2 Number of Constraints Number of Continuous Variables Number of Binary Variables Original MINLP model (P) Example

1,319,882.36 1,347,297.36 1,369,067.5 6 610,092.61 645,951.64 651,653.65 5 147.24 189.19 383.69 4 113.35 133.80 351.32 3 55.24 68.45 281.14 2 61.63 64.01 64.499 1 Relaxation at root node (without proposed cuts) Relaxation at root node (with proposed cuts) Global optimum Example

Scheduling problems Process synthesis problems Illustrative problem

2 cuts 10 cuts

MILP

slide-21
SLIDE 21
  • Carnegie Mellon

Synthesis of Integrated Process Water Systems

WATER One of MOST IMPORTANT resources used in process industry How to synthesize a network involving water reuse and decentralized water treatment that will: a) Reduce consumption of freshwater b) Minimize cost => Global Optimization Problem

PU1 PU2 PU3 TU1 TU2 Freshwater Freshwater Freshwater

40 ton/hr 50 ton/hr 60 ton/hr 150 ton/hr 150 ton/hr 150 ton/hr (1 ppm A, 1.16 ppm B)

Conventional water network: centralized Freshwater consumed: 150 ton/hr

Process units Treatment units

Karuppiah, Grossmann (2006)

slide-22
SLIDE 22
  • Carnegie Mellon
  • S1

PU1 PU2 S2 S3 TU1 TU2 S4 S5 Freshwater M1 M2 M3 M4 M5 Discharge S1 PU1 PU2 S2 S3 TU1 TU2 S4 S5 Freshwater M1 M2 M3 M4 M5 Discharge S1 PU1 PU2 S2 S3 TU1 TU2 S4 S5 Freshwater M1 M2 M3 M4 M5 Discharge

Integrated Water Network with reuse and recycle flows is proposed

S1 PU1 PU2 S2 S3 TU1 TU2 S4 S5 Freshwater M1 M2 M3 M4 M5 Discharge

PU

v

Superstructure consists of

  • 1. Mixers (MU)
  • 2. Splitters (SU)
  • 3. Process Units (PU)
  • 4. Treatment Units (TU)

TU

M

S

slide-23
SLIDE 23
  • Carnegie Mellon

Design under Uncertainty

Superstructure of an Integrated Water Network

Superstructure optimization is formulated as an Mixed Integer Non-linear Programming Problem

S1 PU1 PU2 S2 S3 TU1 TU2 S4 S5 Freshwater M1 M2 M3 M4 M5 Discharge

Contaminants in Contaminants in Contaminants

  • ut

Contaminants

  • ut

§ Uncertainty has to be handled at the Design Stage § Uncertain Parameters

(i) Contaminant loads in each Process unit (ii) Contaminant removal ratios in each Treatment unit

Take on different values at different points of time

Karuppiah (2006)

slide-24
SLIDE 24
  • Carnegie Mellon

Multiscenario MINLP Model

§

Uncertainty in the system modeled using a finite set of scenarios denoted by N § Uncertain parameters assume different values in each scenario n ∈ N

H = Hours of operation of plant per annum (hrs) CFW = Cost of freshwater ($/ ton) = Investment cost of a treatment unit t ($) = Operating cost of a treatment unit t in scenario n ($) AR = Annualized factor for investment Min

Objective Function

= First stage design variable pertaining to maximum flow in the pipe i yi = Design variable pertaining to existence of pipe i = Second stage state variable corresponding to flow in pipe i in scenario n = Cost coefficient corresponding to existence of pipe i = Investment cost of pipe i ($) = Cost of pumping water in pipe i in scenario n ($) (1) ( ) ( )

∈ ∈ ∈

+ + + +

  • +

n t i TU t i n t n n n FW n n i i n i n t i TU t i t i i i i i p

  • ut
  • ut

F OC p H FW C p H F PM p H F IC AR F IP y C AR

α δ

ˆ ˆ

i

F ˆ

i n

F

i p

C

( )

δ i i F

IP ˆ

i n iF

PM

( )

α i t F

IC ˆ

i n tF

OC

1st stage costs 2nd stage costs

Concave

slide-25
SLIDE 25
  • Carnegie Mellon

MINLP Model MINLP Model

Splitter Units

Overall Material Balance (4) Contaminant Balance (5)

Mixer Units

Overall Material Balance (2) Contaminant Balance (3)

Process Units

Flow Balance (6) Contaminant Balance (7)

Treatment Units

Total Flow Balance (8) Contaminant Balance (9)

N n m k MU m F F

  • ut

m i i n k n

in

∈ ∀ ∈ ∈ ∀ =

, , N n m k MU m j C F C F

  • ut

m i i jn i n k jn k n

in

∈ ∀ ∈ ∈ ∀ ∀ =

, , , N n s k SU s F F

in s i i n k n

  • ut

∈ ∀ ∈ ∈ ∀ =

, ,

N n s k s i SU s j C C

in

  • ut

k jn i jn

∈ ∀ ∈ ∈ ∀ ∈ ∀ ∀ = , , , , N n p k p i PU p P F F

  • ut

in p i n k n

∈ ∀ ∈ ∈ ∈ ∀ = = , , ,

N n p k p i PU p j C P L C P

  • ut

in k jn p p jn i jn p

∈ ∀ ∈ ∈ ∈ ∀ ∀ = × + , , , , 10

3

N n t k t i TU t F F

in

  • ut

i n k n

∈ ∀ ∈ ∈ ∈ ∀ = , , ,

N n t k t i TU t j C C

in

  • ut

k jn t jn i jn

∈ ∀ ∈ ∈ ∈ ∀ ∀ = , , , , β

Bilinear

slide-26
SLIDE 26
  • Carnegie Mellon

MINLP Model (cont.)

Bound Strengthening Cuts (10) Design Constraints (11) Linking Constraints ( “Hard Constraints” ) (12)

( )

N n j C F C F L

  • ut

jn

  • ut

n t k TU t k jn k n t jn PU p p jn

in

∈ ∀ ∀ + − = ×

∈ ∈

, 1 10 3 β i y F F y F

i iU i i iL

∀ ≤ ≤ ˆ ˆ ˆ N n i F F

i n i

∈ ∀ ∀ ≥ , ˆ

If yi = 0, then stream i does not exist and so is 0

i

F ˆ

Design Variable Flow variable in scenario n

Redundant overall mass balance each component

slide-27
SLIDE 27
  • Carnegie Mellon

v

Bilinear terms ( in contaminant balance for mixers ) are replaced by another variable

i j iC

F

v

We construct Convex and Concave Envelopes for the Bilinear terms and the Concave functions

v

Concave cost functions ( in the objective function ) are replaced by another variable to get a relaxed objective function

( )

α i

F

( )

i

F

  • ut

m i i j k j

m k MU m j f f

in

∈ ∀ ∈ ∀ ∀ =

, ,

( )

∈ ∈ ∈

+ +

  • ut
  • ut

t i TU t i t t i TU t i t FW

F OC H F IC AR FW HC

relax = Linear Programming Relaxation

i j

f

Very large gap between the Lower and Upper bounds (10) (11)

Relaxation of Nonconvex NLP

slide-28
SLIDE 28
  • Carnegie Mellon

iL j iU i iL j i j iU i j iU j iL i iU j i j iL i j iU j iU i iU j i j iU i j iL j iL i iL j i j iL i j

C F F C C F f C F F C C F f C F F C C F f C F F C C F f − + ≤ − + ≤ − + ≥ − + ≥

McCormick (1976 )

Under- and over-estimators ( Linear Inequalities ) FiL ≤ Fi ≤ FiU Cj

iL ≤ Cj i ≤ Cj iU

C CL FL CU FU

F

Underestimators Overestimators Bilinear term

Concave and Convex Envelopes for Bilinear Terms Underestimation of Concave functions

F (FL) FL (FU) FU

F

Underestimator Concave term ( ) ( ) ( ) ( )

iL i iL iU iL iU iL i

F F F F F F F F − ×

− + ≥

  • α

α α

FiL ≤ Fi ≤ FiU ( Secant line )

α α α α α α α α α α α α

(12)

Convexification of Nonconvex Functions

slide-29
SLIDE 29
  • Carnegie Mellon

Illustrative Example

Optimization of 2 Process Unit - 2 Treatment Unit network operating under uncertainty

0.5 2 0.5 1 1 1 2 0.5 1 2 A 2 0.5 1 0.5 2 1 1 0.5 1 2 A 50 50 0.5 2 0.5 1 1 1 2 0.5 1 2 B 50 PU2 2.5 1 1.5 1 2.5 1.5 1.5 1 1.5 2.5 B 40 PU1 Maximum Inlet Conc. (ppm) A B Discharge load (Kg/hr) n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 Flow (ton/hr) Unit

Annualized factor for investment (AR) = 0.1 Hours of operation of plant per annum (H) = 8000 hrs Cost of Freshwater ( CFW ) = 1 $ / ton

Process Unit data Treatment Unit data

Environmental discharge limit for both contaminants = 10 ppm

A 90 95 99 95 95 99 95 99 95 90 A 0.7

0.0067

12600 95 95 90 90 95 95 95 99 95 90 B TU2 0.7 1 16800 B TU1 α OC IC Removal ratio (%) n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 Unit 0.05 n10 0.05 n9 0.02 n8 0.03 n7 0.05 n6 0.05 n5 0.1 n4 0.15 n3 0.3 n2 0.2 n1 Probablity (pn) Scenario

Scenario Probabilities

Cost coefficient for pipe connection (Cp) = 6 Investment cost coefficient for pipe (IP ) = 100 Operating cost coefficient for pumping water (PM ) = 0.006

slide-30
SLIDE 30
  • Carnegie Mellon

Optimal Network Topology

Global minimum of Network Capital Cost and Expected Operating Cost = $651,653.1/yr

( Maximum flows to be handled in the pipes are shown )

S1 PU1 PU2 S2 S3 TU1 TU2 S4 S5

40 50 40 50 50 44.79 50.89 44.79 50.89 40 5.71 39.28 40 39.08 40 5.93

M1 M2 M3 M4 M5

0.89 4.39 44.79 15.78 25.78

Freshwater use reduced from 90 ton/h to 40 ton/h − Lower bound (LB) generated using proposed algorithm = $645,951.64/yr − Upper bound (UB) obtained = $651,653.1/yr

Lower and Upper bounds converge within 1 % tolerance at root node of Branch and Bound tree

− Total time = 62.8 secs (GAMS/CPLEX, CONOPT, BARON)

10 scenarios for uncertain contaminant loads (A,B) in process units, and uncertain recovery in treatment units

MINLP 24 0-1 var 764 cont. var 928 constr.

slide-31
SLIDE 31
  • Carnegie Mellon

Crude Tanks Given: Determine:

  • 1. Scheduling Horizon
  • 2. Tank inventory (min, max,

initial levels)

  • 3. Available crude types and their

properties

  • 4. Product property specifications and demands
  • 5. Bounds on crude and product flows
  • 1. When to order crudes
  • 2. How much of each crude to order
  • 3. Operating flows of crude

between tanks

  • 4. Charges to Pipestills
  • 5. How much of each product to produce

Optimization

REFINERY Schematic

Distillation Columns Products Products Crude Arrivals

Scheduling Problem

slide-32
SLIDE 32
  • Carnegie Mellon

v

Continuous time formulation by Furman et al. (2006)

Op Optimization model

(P) (P)

v

Scheduling problem modeled as a Mixed Integer Nonlinear Program (MINLP)

§ Discrete variables used to determine which flows should exist and when § Model is non-linear and non-convex

Minimize total cost = waiting cost for supply streams + unloading cost of supply streams + inventory cost for each tank over scheduling horizon + setup cost for charging CDUs with different charging tanks

s.t. Tank constraints (Bilinear) Distillation unit (CDU) constraints Supply stream constraints Variable bounds

Scheduling Model

slide-33
SLIDE 33
  • Carnegie Mellon

v

Large-scale non-convex MINLPs such as (P) are very difficult to solve

§

Commercial global optimization solvers fail to converge to solution in tractable computational times

v

Special Outer-Approximation algorithm proposed to solve problem to global optimality

§

Guaranteed to converge to global optimum given certain tolerance between lower and upper bounds

Upper Bound : Feasible solution of (P) Lower Bound : Obtained by solving a MILP relaxation (R) of the non-convex MINLP model with Lagrangean Decomposition based cuts added to it

NLP fixed 0-1 Master MILP

Upper Bound Lower Bound Solving this convex relaxation

is time consuming!

Global Optimization of MINLP

slide-34
SLIDE 34
  • Carnegie Mellon

D1 D2

Crude Supply Streams Storage Tanks Charging Tanks Crude Distillation Units v

Network is split into two decoupled sub-structures D1 and D2

§

Physically interpreted as cutting some pipelines (Here a, b and c)

§

Set of split streams denoted by p {a , b, c }

a b c How to derive the Lagrangean cuts ?

Spatial Decomposition of the Network

slide-35
SLIDE 35
  • Carnegie Mellon

min z1 = waiting cost for supply streams + unloading cost of supply streams + inventory cost for tanks in D1 over scheduling horizon + setup costs for charging CDUs in D1 with different charging tanks +

Optimize to get solution

* 1

z

Sub-problem corresponding to sub-structure D1

(LD1)

  • +

+ + +

p t t p w t p p t t p T t p p t t p T t p j p t j t p V t p j p t tot t p Vtot t p

w T T V V

1 , , 1 , 2 , 2 , 1 , 1 , 1 , 1 , , , , 1 , , ,

λ λ λ λ λ

s.t. Tank constraints Distillation unit constraints Supply stream constraints Variable bounds

min z2 = inventory cost for tanks in D2 over scheduling horizon + setup costs for charging CDUs in D2 with different charging tanks +

Optimize to get solution

* 2

z

(LD2)

− − − −

p t t p w t p p t t p T t p p t t p T t p j p t j t p V t p j p t tot t p Vtot t p

w T T V V

2 , , 2 , 2 , 2 , 2 , 1 , 1 , 2 , , , , 2 , , ,

λ λ λ λ λ

s.t. Tank constraints Distillation unit constraints Variable bounds

Sub-problem corresponding to sub-structure D2

Decomposed Sub-models

slide-36
SLIDE 36
  • Carnegie Mellon

v

Using solutions and we develop the following cuts :

v

Add above cuts to (R) to get (RP) which is solved to obtain a valid lower bound on global optimum of (P)

Remark: Update Lagrange multipliers and generate more cuts to add to (R)

* 1

z

* 2

z

waiting cost for supply streams + unloading cost of supply streams + inventory cost for tanks in D1 over scheduling horizon + setup costs for charging CDUs in D1 with different charging tanks +

* 1

z

  • +

+ + +

p t t p w t p p t t p T t p p t t p T t p j p t j t p V t p j p t tot t p Vtot t p

w T T V V

, , 2 , 2 , 1 , 1 , , , , , ,

λ λ λ λ λ

inventory cost for tanks in D2 over scheduling horizon + setup costs for charging CDUs in D2 with different charging tanks +

* 2

z

− − − −

p t t p w t p p t t p T t p p t t p T t p j p t j t p V t p j p t tot t p Vtot t p

w T T V V

, , 2 , 2 , 1 , 1 , , , , , ,

λ λ λ λ λ

Lagrange Multipliers

Cut Generation

slide-37
SLIDE 37
  • Carnegie Mellon

1167 381 57 3 994 330 42 2 946 300 48 1 Number of Constraints Number of Continuous Variables Number of Binary Variables Original MINLP model (P) Example 383.69 8928.6 383.69 383.69 3 361.63 6913.9 2.27 359.48 351.32 2 291.93 827.7 0.37 282.19 281.14 1 Local optimum (using DICOPT) Total time taken for

  • ne iteration
  • f algorithm*

(CPUsecs) Relaxation gap (%) Upper bound [on solving (P-NLP) using BARON ] (zP-NLP) Lower bound [obtained by solving relaxation (RP) ] (zRP) Example 8025.9 1258100 189.19 383.69 15874.8 3029600 147.24 383.69 3 5873.2 310600 133.80 351.32 14481.7 931700 113.35 351.32 2 758.8 334300 68.45 281.14 1953.3 940800

  • 55.24

281.14 1 Time taken to solve (RP)* (CPUsecs)

  • No. of

nodes LP relaxation at root node Solution (zRP) Time taken to solve (R)* (CPUsecs)

  • No. of

nodes LP relaxation at root node Solution (zR) Solving MILP model (RP) (including proposed cuts) Solving MILP model (R) Example * Pentium IV, 2.8 GHz , 512 MB RAM

Solvers : MILP CPLEX 9.0, NLP BARON 7.2.5 (Sahinidis, 1996)

3 Supply streams 3 Supply streams – – 6 Storage tanks 6 Storage tanks – – 4 Charging tanks 4 Charging tanks – – 3 Distillation units 3 Distillation units 3 Supply streams 3 Supply streams – – 3 Storage tanks 3 Storage tanks – – 3 Charging tanks 3 Charging tanks – – 2 Distillation units 2 Distillation units 3 Supply streams 3 Supply streams – – 3 Storage tanks 3 Storage tanks – – 3 Charging tanks 3 Charging tanks – – 2 Distillation units 2 Distillation units

BARON could not guarantee global optimality in more than 10 hours*

Computational Results

slide-38
SLIDE 38
  • Carnegie Mellon
  • 2. Presented a technique to combine the concepts of Lagrangean decomposition

and convex relaxations to generate tight relaxations of nonconvex models

  • 1. Proposed a novel branch-and-cut algorithm for global optimization of large-scale

nonconvex MINLP models with decomposable structures

  • Orders of magnitude reduction in solution time can be obtained compared

to standard solvers

Summary

  • 3. Successful applications in integrated water systems and crude oil scheduling
slide-39
SLIDE 39
  • Carnegie Mellon
slide-40
SLIDE 40
  • Carnegie Mellon

THANK YOU !!! ¿ QUESTIONS ?

slide-41
SLIDE 41
  • Carnegie Mellon

S1 PU1 PU2 S2 S3 TU1 TU2 S4 S5 Freshwater M1 M2 M3 M4 M5 Discharge

Contaminants in Contaminants in Contaminants

  • ut

Contaminants

  • ut

Superstructure optimization problem

v

Uncertain Parameters

(i) Contaminant loads in each Process unit (ii) Contaminant removals in each Treatment unit

Take on different values at different points of time

Design problem formulated using a two-stage stochastic programming framework Objective:

1st stage capital costs minimize 2nd stage expected operating costs

Illustrative Example

slide-42
SLIDE 42
  • Carnegie Mellon

Optimization of 2 Process Unit - 2 Treatment Unit network operating under uncertainty

0.5 2 0.5 1 1 1 2 0.5 1 2 A 2 0.5 1 0.5 2 1 1 0.5 1 2 A 50 50 0.5 2 0.5 1 1 1 2 0.5 1 2 B 50 PU2 2.5 1 1.5 1 2.5 1.5 1.5 1 1.5 2.5 B 40 PU1 Maximum Inlet Conc. (ppm) A B Discharge load (Kg/hr) n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 Flowrate (ton/hr) Unit

Annualized factor for investment (AR) = 0.1 Hours of operation of plant per annum (H) = 8000 hrs Cost of Freshwater ( CFW ) = 1 $ / ton

Process Unit data Treatment Unit data Environmental discharge limit for both contaminants = 10 ppm

A 90 95 99 95 95 99 95 99 95 90 A 0.7 0.0067 12600 95 95 90 90 95 95 95 99 95 90 B

TU2

0.7 1 16800 B

TU1 α OC IC Removal ratio (%) n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 Unit 0.05 n10 0.05 n9 0.02 n8 0.03 n7 0.05 n6 0.05 n5 0.1 n4 0.15 n3 0.3 n2 0.2 n1

Probablity

(pn)

Scenario

Scenario Probabilities

Cost coefficient for pipe connection (Cp) = 6 Investment cost coefficient for pipe (IP ) = 100 Operating cost coefficient for pumping water (PM ) = 0.006

Numerical Data

slide-43
SLIDE 43
  • Carnegie Mellon

v

Proposed Algorithm

MINLP Model : § Number of Binary Variables = 24 § Number of Continuous Variables = 764 § Number of Constraints = 928 § Number of Non-convexities = 406

Solvers Used : LP / MILP CPLEX 9.0, NLP CONOPT3

* Pentium IV, 3.2 GHz , 1024 MB RAM

61.83 661,439.35 610,109.06 648,073.24 648,828.60 2 4.1 672,971.83 610,115.37 647,496.24 648,566.716 1 19.33 651,653.65 610,092.61 644,856.82 645,951.64 0 (root node) Total time taken at node (CPUsecs*) Upper Bound (zUB) Lower bound from MILP Relaxation (zCR) Best bound from Lagrangean Decomposition (zLB) Lower bound using proposed algorithm (zR) Node #

20 cutting planes used at each node Lower and Upper bounds converge within 1 % tolerance at root node of Branch and Bound tree Total time taken in solving problem to global optimality = 85.6 sec*

v

BARON (Global Optimization MINLP Solver, Sahinidis (1996) )

− Could not guarantee global optimality in more than 10 hours*

Computational Results

slide-44
SLIDE 44
  • Carnegie Mellon

F Flo Fup Objective Relaxation

Gap < ∈

F Flo

2 1

F ≤ (Flo+Fup)/2

Pruned

LB0 UB0 LB1 UB1 LB2 UB2

F ≥ (Flo+Fup)/2

Tree Representation

Objective function

Upper bound Lower bound Relaxation gap

Geometric Interpretation

slide-45
SLIDE 45
  • Carnegie Mellon

Integrated network operating under uncertainty Global minimum sum of Network Design Cost and Expected Operating Cost = $ 651,653.1

( Maximum flows to be handled in the pipes are shown )

S1 PU1 PU2 S2 S3 TU1 TU2 S4 S5

40 50 40 50 50 44.79 50.89 44.79 50.89 40 5.71 39.28 40 39.08 40 5.93

M1 M2 M3 M4 M5

0.89 4.39 44.79 15.78 25.78

Objective Function value for the Conventional Network = $ 1,568,286.7

Conventional Network

Vs

PU1 PU2 TU1 TU2 Freshwater Freshwater

40 50 90 90 90

Optimal Network Topology

slide-46
SLIDE 46
  • Carnegie Mellon
slide-47
SLIDE 47
  • Carnegie Mellon

6 5 344.267 147.24 189.19 383.69 4 276.582 113.35 133.80 351.32 3 201.335

  • 55.24

68.45 281.14 2 1 Lagrangean decomposition at root node Convex Relaxation at root node Relaxation (using proposed algorithm) Global optimum Example

slide-48
SLIDE 48
  • Carnegie Mellon

Crude Supply Streams Storage Tanks Charging Tanks Crude Distillation Units

Given:

(a) Maximum and minimum inventory levels for a tank (b) Initial total and component inventories in a tank (c) Upper and lower bounds on the fraction of key components in the crude inside a tank (d) Times of arrival of crude oil in the supply streams (e) Amount of crude arriving in the supply streams (f) Fractions of various components in the supply streams (g) Bounds on the flowrates of the streams in the network (h) Time horizon for scheduling

Determine:

(i) Inventory levels in the tanks at various points of time (ii) Flow volumes from one unit to another in a certain time interval (iii) Start and end times of the flows in the network

Objective: Minimize Cost

Problem Statement