source: coopr.plugins/trunk/coopr/plugins/mip/__init__.py @ 2352

Last change on this file since 2352 was 2352, checked in by wehart, 11 years ago

Setting up the configuration of CBC.

File size: 956 bytes
Line 
1#  _________________________________________________________________________
2#
3#  Coopr: A COmmon Optimization Python Repository
4#  Copyright (c) 2008 Sandia Corporation.
5#  This software is distributed under the BSD License.
6#  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
7#  the U.S. Government retains certain rights in this software.
8#  For more information, see the Coopr README.txt file.
9#  _________________________________________________________________________
10
11import pyutilib.component.core
12pyutilib.component.core.PluginGlobals.push_env( 'coopr.opt' )
13
14from PICO import PICO, MockPICO
15from CBCplugin import CBC, MockCBC
16from GLPK import GLPK, MockGLPK
17from CPLEX import CPLEX, MockCPLEX
18from ASL import ASL, MockASL
19#from NLWRITE import NLWRITE
20
21#   
22# Interrogate the CBC executable to see if it recognizes the -AMPL flag
23#   
24import CBCplugin
25CBCplugin.configure()
26
27pyutilib.component.core.PluginGlobals.pop_env()
28
Note: See TracBrowser for help on using the repository browser.