title: How to convert a max in the objective function, when we maximizes?
body: <p>How to rewrite the program</p>
  
  <pre><code>maximize max(2x, 3y)
  s.t 0 &lt;= x, y &lt;= 1
  </code></pre>
  
  <p>So that an LP/MILP can solve it?</p>
  
  <p>My actual objective function is
  <img src="https://i.stack.imgur.com/hu15I.jpg" alt="enter image description here"> </p>
  
  <p>I'm new to LP, and I don't understand well how to use 'binary constraints'. </p>
  
  <p>I'm learning with <code>PuLP</code> and <code>GLPK</code>.<br>
  In my production code, I will either use <code>CPLEX</code> or <code>Gurobi</code>.<br>
  Those these two support 'maximization of max' out of the box?</p>