- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/Blis-0.91.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 Common 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-2005, International Business Machines                  *
    00021  * Corporation, Lehigh University, Yan Xu, Ted Ralphs, Matthew Salzman and   *
    00022  * others. All Rights Reserved.                                              *
    00023  *===========================================================================*/
    00024
    00025 //#############################################################################
    00026
    00027 #ifndef BlisHelp_h_
    00028 #define BlisHelp_h_
    00029
    00030 #include "AlpsEncoded.h"
    00031
    00032 class CoinWarmStartBasis;
    00033 class OsiRowCut;
    00034 class BlisConstraint;
    00035 class BlisModel;
    00036
    00037 //#############################################################################
    00038
    00040 BlisConstraint * BlisOsiCutToConstraint(const OsiRowCut *rowCut);
    00041
    00043 OsiRowCut * BlisConstraintToOsiCut(const BlisConstraint * con);
    00044
    00046 int BlisStrongBranch(BlisModel *model, double objValue, int colInd, double x,
    00047                      const double *saveLower, const double *saveUpper,
    00048                      bool &downKeep, bool &downFinished, double &downDeg,
    00049                      bool &upKeep, bool &upFinished, double &upDeg);
    00050
    00052 int BlisEncodeWarmStart(AlpsEncoded *encoded, const CoinWarmStartBasis *ws);
    00053
    00055 CoinWarmStartBasis *BlisDecodeWarmStart(AlpsEncoded &encoded,
    00056                                         AlpsReturnStatus *rc);
    00057
    00059 double BlisHashingOsiRowCut(const OsiRowCut *rowCut,
    00060                             const BlisModel *model);
    00061
    00063 bool BlisParallelCutCut(OsiRowCut * rowCut1,
    00064                         OsiRowCut * rowCut2,
    00065                         double threshold = 1.0);
    00066
    00068 bool BlisParallelCutCon(OsiRowCut * rowCut,
    00069                         BlisConstraint * con,
    00070                         double threshold = 1.0);
    00071
    00072
    00073 #endif