23
lehigh-logo FilMINT: A Linearizations-based MINLP Solver Kumar Abhishek 1 Sven Leyffer 2 Jeff Linderoth 3 1 ISE Department Lehigh University [email protected] 2 Mathematics and Computer Science Division Argonne National Laboratory [email protected] 3 ISE Department Lehigh University [email protected] INFORMS Annual Meeting, Pittsburgh. Nov 07, 2006 Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer Scien FilMINT: A new MINLP solver INFORMS Nov 07, 2006 1 / 23

FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

FilMINT: A Linearizations-based MINLP Solver

Kumar Abhishek1 Sven Leyffer2 Jeff Linderoth3

1ISE DepartmentLehigh University

[email protected]

2Mathematics and Computer Science DivisionArgonne National [email protected]

3ISE DepartmentLehigh University

[email protected]

INFORMS Annual Meeting, Pittsburgh.Nov 07, 2006

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 1 / 23

Page 2: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Problem and algorithm Introduction

MINLP Formulation

zMINLP = minimize f (x, y)

subject to gj(x, y) ≤ 0, j = 1, . . . , m, (MINLP)

x ∈ X, y ∈ Y ∩ Zp,

where

Xdef= {x | x ∈ R

n, Dx ≤ d},

Ydef= {y | y ∈ R

p, Ay ≤ a, yl ≤ y ≤ yu}.

f , gj are twice continuously differentiable (convex) functions.

x and y are continuous and discrete variables respectively.

An NP-hard problem.

A number of interesting applications. . .

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 2 / 23

Page 3: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Problem and algorithm Introduction

Motivation

LP/NLP Algorithm by Quesada and Grossmann [1992].

Early implementation by Leyffer [1993]: 10 × faster than OA.

Advent of modern, flexible Branch and Cut framework.

Want to use MILP framework’s advanced features for our problem.

Steady improvements in nonlinear programming solvers.

FilMINT uses FilterSQP, a robust, active set solver for solvingNLPs, and MINTO for the MILP framework.

In order to describe the algorithm, we next define some problems.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 3 / 23

Page 4: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Problem and algorithm Introduction

NLP subproblem for a fixed y (say yk)

zNLP(yk ) = minimize f (x, yk)

subject to gj(x, yk) ≤ 0 j = 1, . . . , m, (NLP(yk))

x ∈ X.

⇒ Solution is xk.

NLP(yk) feasible ⇒ Upper Bound.

If NLP(yk) infeasible, NLP solver detects this and gives solution to:

Feasibility subproblem for fixed yk

minimizem

X

j=1

wjgj(x, yk)+, (NLPF(yk))

subject to x ∈ X.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 4 / 23

Page 5: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Problem and algorithm Introduction

NLP Relaxation for a node with bounds (l, u) on y

zNLPR(l,u) = minimize f (x, y)

subject to gj(x, y) ≤ 0 j = 1, . . . , m, (NLPR(l, u))

x ∈ X, y ∈ Y,

l ≤ y ≤ u.

Convexity of f and gj ⇒ linearizations about any point (xk, yk)outer-approximate the feasible set, and underestimate theobjective function.

f (xk, yk) + ∇f (xk, yk)T[

x − xk

y − yk

]

≤ η (OA(xk, yk))

gj(xk, yk) + ∇gj(x

k, yk)T[

x − xk

y − yk

]

≤ 0 j = 1, . . . , m.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 5 / 23

Page 6: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Problem and algorithm Introduction

Outer-Approximation based MILP Master Problem

zMP(K) = minimize η

subject to f (xk, yk) + ∇f (xk

, yk)T

»

x − xk

y − yk

≤ η ∀(xk, yk) ∈ K (MP(K))

gj(xk, yk) + ∇gj(xk

, yk)T

»

x − xk

y − yk

≤ 0 ∀(xk, yk) ∈ K j = 1, . . . , m

x ∈ X, y ∈ Y ∩ Zp.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 6 / 23

Page 7: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Problem and algorithm Introduction

LP/NLP based Branch and Bound Algorithm

Integer feasible node... solve NLP subproblem

Add linearizations to Continue branch−and−cuttree−search

... using branch−and−cutSolve master MIP (MP(K))

MIP master (MP(K))

*

*

(1) (2)

(3) (4)

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 7 / 23

Page 8: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Problem and algorithm Introduction

Computational Experiments and features explored

More than 250 MINLP instances from various sources.

Classified as easy (< 1 min), moderate (1 min - 1 hour), and hard(> 1 hour) using MINLP-BB, a nonlinear branch-and-bound solver.

Ran with 4 hour time limit on processors with 1.8GHz clockspeedand 2 Gb RAM.

Show performance profiles to summarize the results.

Probability that solver i is at most x-times worse than the best.

Time used as metric for moderate instances, and solution value(gap to best known upper bound) for hard instances.

We now show the features explored with FilMINT:1 MILP features2 Linearization management.3 Linearization generation.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 8 / 23

Page 9: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT MIP features

MIP features

Preprocessing the master problem.

Cutting planes - use cut generation routines in MINTO.

Primal heuristic - use the diving based heuristic in MINTO.Branching rules

Maximal fractional branching.Strong branching.Pseudo-cost based branching.

Node selection strategiesBest bound.Depth first.Best estimate.Adaptive (best bound + best estimate).

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 9 / 23

Page 10: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT MIP features

Performance Profiles

0

0.2

0.4

0.6

0.8

1

1 10

perc

ent o

f ins

tanc

es

no worse than x-times of the best

vanillaMILPcuts

primal-heuristicsprep

Figure: Effect of cuts, heuristics and preprocessing for moderate instances.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 10 / 23

Page 11: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT MIP features

0

0.2

0.4

0.6

0.8

1

1

perc

ent o

f ins

tanc

es

no worse than x-times of the best

vanillaMILPcuts

primal-heuristicsprep

Figure: Effect of cuts, heuristics and preprocessing for hard instances.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 11 / 23

Page 12: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT MIP features

0

0.2

0.4

0.6

0.8

1

1

perc

ent o

f ins

tanc

es

no worse than x-times of the best

vanilla(max-frac)strong-branching

pseudo-cost

Figure: Effect of branching rules for hard instances.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 12 / 23

Page 13: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT MIP features

0

0.2

0.4

0.6

0.8

1

1

perc

ent o

f ins

tanc

es

no worse than x-times of the best

vanilla(best-bound)depth-first

best-estimateadaptive

Figure: Effect of node selection rules for hard instances.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 13 / 23

Page 14: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT Managing linearizations

Managing linearizations

Large number of linearizations and other inequalities⇒ increases the LP solve time and memory requirements.

Add linearizations only if violated by the current LP solution.Remove constraints if they remain inactive for a long time.

Make use of MINTO’s row management scheme to do this.MINTO checks if constraint inactive for last 15 iterations.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 14 / 23

Page 15: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT Managing linearizations

0

0.2

0.4

0.6

0.8

1

1 10

perc

ent o

f ins

tanc

es

no worse than x-times of the best

vanIPviolated

row-mgmt

Figure: Effect of linearization management for moderate instances.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 15 / 23

Page 16: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT Managing linearizations

Performance Profiles

0

0.2

0.4

0.6

0.8

1

1

perc

ent o

f ins

tanc

es

no worse than x-times of the best

vanIPviolated

row-mgmt

Figure: Effect of linearization management for hard instances.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 16 / 23

Page 17: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT Generating linearizations

Generating linearizations

We consider simple extensions to generate new linearizations.

About which points can we generate linearizations.

How much work to do to generate them.Linearizations from NLP(yk) fixed at fractional yk.

We call this fixfrac.Do not have to wait for integer feasible solution.

ECP method: do gradient evaluations and linearize instead ofsolving NLPs.

We can solve an NLP by varying the number of variables that wefix.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 17 / 23

Page 18: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT Generating linearizations

Increased fixing of variables

Fixfrac NLPRECP

expensive solveNo NLP solve

Effort

Cut generation strategy depends on:ρ(d) - probability of generation of new linearizations at a node.

Depends on the depth d of the node.ρ(d) ≡ β2−d.

At present: same strategy for fixfrac, ECP, and NLPR.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 18 / 23

Page 19: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT Generating linearizations

0

0.2

0.4

0.6

0.8

1

1

perc

ent o

f ins

tanc

es

no worse than x-times of the best

row-mgmtfixfrac

ecpnlpr

Figure: Effect of linearization generation for moderate instances.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 19 / 23

Page 20: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT Generating linearizations

0

0.2

0.4

0.6

0.8

1

1

perc

ent o

f ins

tanc

es

no worse than x-times of the best

row-mgmtfixfrac

ecpnlpr

Figure: Effect of linearization generation for hard instances.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 20 / 23

Page 21: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT Comparison with MINLP-BB and BONMIN

0

0.2

0.4

0.6

0.8

1

1 10 100

perc

ent o

f ins

tanc

es

no worse than x-times of the best

vanillaMINLP-BB

filmintBONMIN

Figure: Comparing FilMINT with other solvers for moderate instances.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 21 / 23

Page 22: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT Comparison with MINLP-BB and BONMIN

0

0.2

0.4

0.6

0.8

1

1

perc

ent o

f ins

tanc

es

no worse than x-times of the best

vanillaMINLP-BB

filmintBONMIN

Figure: Comparing FilMINT with other solvers for hard instances.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 22 / 23

Page 23: FilMINT: A Linearizations-based MINLP Solvercoral.ise.lehigh.edu/.../talks/2006_07/abhishek_filmint.pdf · 2010. 6. 21. · Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department

lehigh-logo

Features in FilMINT Conclusions

Conclusions

Introduce a new solver FilMINT, based on the LP/NLP algorithm ina branch-and-cut framework.

Create using existing software components.

Investigate impact of MIP features.

New ways of generating and managing linearizations.

FilMINT outperforms other MINLP solvers.

Future research: cutting plane techniques for MINLP.

Kumar Abhishek, Sven Leyffer, Jeff Linderoth ( ISE Department Lehigh University [email protected] Mathematics and Computer ScienceFilMINT: A new MINLP solver INFORMS Nov 07, 2006 23 / 23