def test_ALPSO_integer_design_var(self):

        #    probNEW.py
        #
        #Set's up component for Schittkowski's TP37 Problem.
        #
        #    min 	-x1*x2*x3
        #    s.t.:	x1 + 2.*x2 + 2.*x3 - 72 <= 0
        #            - x1 - 2.*x2 - 2.*x3 <= 0
        #            0 <= xi <= 42,  i = 1,2,3
        #
        #    f* = -3456 , x* = [24, 12, 12]
        #
        # *Problem taken from pyOpt example tp037

        try:
            from pyopt_driver.pyopt_driver import pyOptDriver
        except __HOLE__:
            raise SkipTest("this test requires pyOpt to be installed")

        opt_problem = BenchMarkOptimization()
        set_as_top(opt_problem)
        opt_problem.run()

        self.assertEqual(opt_problem.benchmark.x1, 24)
        self.assertEqual(opt_problem.benchmark.x2, 12)
        self.assertEqual(opt_problem.benchmark.x3, 12)
dataset/ETHPy150Open OpenMDAO-Plugins/pyopt_driver/src/pyopt_driver/test/test_pyopt_driver.py/pyOptDriverTestCase.test_ALPSO_integer_design_var