# Adding extra objectives in JuMP

**URL:** <https://discourse.julialang.org/t/adding-extra-objectives-in-jump/67767>\
**Category:** Optimization (Mathematical)\
**Tags:** question, jump, optimization\
**Created:** [September 6, 2021, 5:27pm UTC](https://discourse.julialang.org/t/adding-extra-objectives-in-jump/67767 "2021-09-06T17:27:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbomahn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dbomahn/32/28914_2.png) [@dbomahn](https://discourse.julialang.org/u/dbomahn)\
**Post date:** [September 6, 2021, 5:27pm UTC](https://discourse.julialang.org/t/adding-extra-objectives-in-jump/67767/1 "2021-09-06T17:27:48Z")

</div>

Hello,  
I found that CPLEX 12.9 or later versions allow us to build a model with multiple objectives (not summing up the objectives by giving weights) and wanted to export the model to an LP file of CPLEX multi-objective form. However, I couldn’t find a way to add extra objectives in the JuMP environment.  
Is there a way to do this? Or is this function in progress?  
Thanks for your comments!

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [September 6, 2021, 9:31pm UTC](https://discourse.julialang.org/t/adding-extra-objectives-in-jump/67767/2 "2021-09-06T21:31:03Z")

</div>

JuMP doesn’t support multi objective optimization.

There’s an open issue for it: [Multiobjective support in JuMP · Issue #2099 · jump-dev/JuMP.jl · GitHub](https://github.com/jump-dev/JuMP.jl/issues/2099)

---

<div class="post-metadata">

**Author:** ![dbomahn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dbomahn/32/28914_2.png) [@dbomahn](https://discourse.julialang.org/u/dbomahn)\
**Post date:** [September 7, 2021, 8:54am UTC](https://discourse.julialang.org/t/adding-extra-objectives-in-jump/67767/3 "2021-09-07T08:54:30Z")

</div>

Alright, thanks for your prompt answer!

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [April 5, 2023, 6:42pm UTC](https://discourse.julialang.org/t/adding-extra-objectives-in-jump/67767/4 "2023-04-05T18:42:36Z")

</div>

Just to follow-up since the link is getting clicked a lot, JuMP now supports multiple objectives

> **[Multi-objective knapsack · JuMP](https://jump.dev/JuMP.jl/stable/tutorials/linear/multi_objective_knapsack/)**
>
> Documentation for JuMP.

> **[Objectives · JuMP](https://jump.dev/JuMP.jl/stable/manual/objective/#Set-a-vector-valued-objective)**
>
> Documentation for JuMP.
