/home/coin/SVN-release/Bcps-0.93.0/Bcps/examples/Blis/BlisHelp.h

Go to the documentation of this file.
00001 /*===========================================================================*
00002  * This file is part of the Bcps Linear Solver (BLIS).                       *
00003  *                                                                           *
00004  * BLIS is distributed under the Eclipse Public License as part of the       *
00005  * COIN-OR repository (http://www.coin-or.org).                              *
00006  *                                                                           *
00007  * Authors:                                                                  *
00008  *                                                                           *
00009  *          Yan Xu, Lehigh University                                        *
00010  *          Ted Ralphs, Lehigh University                                    *
00011  *                                                                           *
00012  * Conceptual Design:                                                        *
00013  *                                                                           *
00014  *          Yan Xu, Lehigh University                                        *
00015  *          Ted Ralphs, Lehigh University                                    *
00016  *          Laszlo Ladanyi, IBM T.J. Watson Research Center                  *
00017  *          Matthew Saltzman, Clemson University                             *
00018  *                                                                           * 
00019  *                                                                           *
00020  * Copyright (C) 2001-2011, Lehigh University, Yan Xu, and Ted Ralphs.       *
00021  * All Rights Reserved.                                                      *
00022  *===========================================================================*/
00023 
00024 //#############################################################################
00025 
00026 #ifndef BlisHelp_h_
00027 #define BlisHelp_h_
00028 
00029 #include "AlpsEncoded.h"
00030 
00031 class CoinWarmStartBasis;
00032 class OsiRowCut;
00033 class BlisConstraint;
00034 class BlisModel;
00035 
00036 //#############################################################################
00037 
00039 BlisConstraint * BlisOsiCutToConstraint(const OsiRowCut *rowCut);
00040 
00042 OsiRowCut * BlisConstraintToOsiCut(const BlisConstraint * con);
00043 
00045 int BlisStrongBranch(BlisModel *model, double objValue, int colInd, double x,
00046                      const double *saveLower, const double *saveUpper,
00047                      bool &downKeep, bool &downFinished, double &downDeg,
00048                      bool &upKeep, bool &upFinished, double &upDeg);
00049 
00051 int BlisEncodeWarmStart(AlpsEncoded *encoded, const CoinWarmStartBasis *ws);
00052 
00054 CoinWarmStartBasis *BlisDecodeWarmStart(AlpsEncoded &encoded,
00055                                         AlpsReturnStatus *rc);
00056 
00058 double BlisHashingOsiRowCut(const OsiRowCut *rowCut, 
00059                             const BlisModel *model);
00060 
00062 bool BlisParallelCutCut(OsiRowCut * rowCut1,
00063                         OsiRowCut * rowCut2,
00064                         double threshold = 1.0);
00065 
00067 bool BlisParallelCutCon(OsiRowCut * rowCut,
00068                         BlisConstraint * con,
00069                         double threshold = 1.0);
00070 
00071 
00072 #endif

Generated on Sun Nov 6 03:02:16 2011 by  doxygen 1.4.7