#!/usr/bin/env python # coding: utf-8 # In[1]: from pyomo.environ import * import numpy as np # max f1 = 2*pi*r^2*h # h^2+r^2 =R^2 # 0