# Maximize Min Objective

**URL:** <https://discourse.julialang.org/t/maximize-min-objective/83431>\
**Category:** Optimization (Mathematical)\
**Tags:** question, convex-optimization\
**Created:** [June 27, 2022, 9:14pm UTC](https://discourse.julialang.org/t/maximize-min-objective/83431 "2022-06-27T21:14:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 27, 2022, 9:40pm UTC](https://discourse.julialang.org/t/maximize-min-objective/83431/2 "2022-06-27T21:40:54Z")

</div>

Hi @sophiepavia,

A couple of questions:

- Do you really mean Pajarito? It doesn’t support `@NLobjective`s. Instead, it is intended for mixed-integer conic programs.
- Are you sure your problem is convex? It has some scary looking terms there.
- What is `p_dict`, `l_dict`, `l__dict`, etc? Since this is your first post, take a read of [Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757). It has some tips for writing minimal reproducible examples.
- The typical way to maximize a min is to add new variables

```julia
@objective(model, Max, min(a, b, c))

# becomes

@varaible(model, t)
@objective(model, Max, t)
@constraint(model t <= a)
@constraint(model t <= b)
@constraint(model t <= c)

```

---

_[View the full topic](https://discourse.julialang.org/t/maximize-min-objective/83431)._
