Esempio n. 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
     ]
Esempio n. 2
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]
Esempio n. 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
Esempio n. 4
0
 def __init__(self):
     RealOptProblem.__init__(self)
     self.nvars = 4
Esempio n. 5
0
 def __init__(self):
     RealOptProblem.__init__(self)
     self.nvars=4
Esempio n. 6
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