Solver Max logo

Biggest rectangle in a circle

Key features of this model:

  • Description: Find the maximum area of a rectangle within a circle.
  • Category: Non-linear functions.
  • Type: NLP.
  • Library: Pyomo.
  • Solver: IPOPT.


  • Includes alternative scenarios where the values of some variables are fixed/unfixed using the fix() and unfix() Pyomo functions.
  • Added printing of final scenario, which was omitted from original code.

GitHub: Biggest rectangle in a circle.