예제 #1
0
 def __init__(self):
     RealOptProblem.__init__(self)
     self.nvars = 4
     self.ncons = 4
     self.response_types = [
         response_enum.FunctionValue, response_enum.Gradient,
         response_enum.Hessian, response_enum.NonlinearConstraintValues,
         response_enum.Jacobian
     ]
예제 #2
0
파일: RealProblem3.py 프로젝트: Pyomo/pyomo
 def __init__(self):
     RealOptProblem.__init__(self)
     self.nvars=4
     self.ncons=4
     self.response_types = [response_enum.FunctionValue, 
                             response_enum.Gradient,
                             response_enum.Hessian, 
                             response_enum.NonlinearConstraintValues,
                             response_enum.Jacobian]
예제 #3
0
 def __init__(self):
     RealOptProblem.__init__(self)
     self.lower = [0.0, -1.0, 1.0, None]
     self.upper = [None, 0.0, 2.0, -1.0]
     self.nvars = 4
예제 #4
0
 def __init__(self):
     RealOptProblem.__init__(self)
     self.nvars = 4
예제 #5
0
파일: RealProblem2.py 프로젝트: Pyomo/pyomo
 def __init__(self):
     RealOptProblem.__init__(self)
     self.nvars=4
예제 #6
0
파일: RealProblem1.py 프로젝트: Pyomo/pyomo
 def __init__(self):
     RealOptProblem.__init__(self)
     self.lower=[0.0, -1.0, 1.0, None]
     self.upper=[None, 0.0, 2.0, -1.0]
     self.nvars=4