def __init__(self, **kwds): try: ASL.__init__(self,**kwds) except pyutilib.common.ApplicationError: #pragma:nocover pass #pragma:nocover MockMIP.__init__(self,"asl") self._assert_available = True
def create_command_line(self, executable, problem_files): command = CPLEXSHELL.create_command_line(self, executable, problem_files) MockMIP.create_command_line(self, executable, problem_files) return command
def create_command_line(self,executable,problem_files): command = GLPKSHELL_old.create_command_line(self,executable,problem_files) MockMIP.create_command_line(self,executable,problem_files) return command
def __init__(self, **kwds): try: GLPKSHELL_old.__init__(self, **kwds) except ApplicationError: #pragma:nocover pass #pragma:nocover MockMIP.__init__(self,"glpk")
def __init__(self, **kwds): try: GLPKSHELL.__init__(self, **kwds) except ApplicationError: pass MockMIP.__init__(self, "glpk")
def _execute_command(self, cmd): return MockMIP._execute_command(self, cmd)
def create_command_line(self, executable, problem_files): command = CBCSHELL.create_command_line(self, executable, problem_files) MockMIP.create_command_line(self, executable, problem_files) return command
def _execute_command(self,cmd): return MockMIP._execute_command(self,cmd)
def __init__(self, **kwds): try: XPRESS_shell.__init__(self, **kwds) except ApplicationError: #pragma:nocover pass #pragma:nocover MockMIP.__init__(self, "cplex")
def __init__(self, **kwds): try: CBCSHELL.__init__(self, **kwds) except ApplicationError: #pragma:nocover pass #pragma:nocover MockMIP.__init__(self, "cbc")
def create_command_line(self,executable,problem_files): command = XPRESS_shell.create_command_line(self,executable,problem_files) MockMIP.create_command_line(self,executable,problem_files) return command
def __init__(self, **kwds): try: XPRESS_shell.__init__(self, **kwds) except pyutilib.common.ApplicationError: #pragma:nocover pass #pragma:nocover MockMIP.__init__(self,"cplex")
def _default_executable(self): return MockMIP.executable(self)
def __init__(self, **kwds): try: CBCSHELL.__init__(self,**kwds) except pyutilib.common.ApplicationError: #pragma:nocover pass #pragma:nocover MockMIP.__init__(self,"cbc")
def executable(self): return MockMIP.executable(self)
def __init__(self, **kwds): try: PICOSHELL.__init__(self, **kwds) except ApplicationError: #pragma:nocover pass #pragma:nocover MockMIP.__init__(self, "pico")
def __init__(self, **kwds): try: ASL.__init__(self, **kwds) except pyutilib.common.ApplicationError: #pragma:nocover pass #pragma:nocover MockMIP.__init__(self, "asl")
def __init__(self, **kwds): try: CPLEXSHELL.__init__(self, **kwds) except pyutilib.common.ApplicationError: #pragma:nocover pass #pragma:nocover MockMIP.__init__(self, "cplex")
def create_command_line(self, executable, problem_files): command = XPRESS_shell.create_command_line(self, executable, problem_files) MockMIP.create_command_line(self, executable, problem_files) return command