/home/coin/SVN-release/OS-2.4.1/Couenne/src/heuristics/CouenneFPcreateMILP.cpp File Reference

#include "CbcModel.hpp"
#include "IpLapack.hpp"
#include "CouenneSparseMatrix.hpp"
#include "CouenneTNLP.hpp"
#include "CouenneFeasPump.hpp"
#include "CouenneProblem.hpp"
#include "CouenneProblemElem.hpp"

Include dependency graph for CouenneFPcreateMILP.cpp:

Go to the source code of this file.

Defines

#define COUENNE_EIG_RATIO   .1
#define INT_LP_BRACKET   0
#define GRADIENT_WEIGHT   1

Functions

void ComputeSquareRoot (const CouenneFeasPump *fp, CouenneSparseMatrix *hessian, CoinPackedVector *P)
 computes square root of a CouenneSparseMatrix
OsiSolverInterface * createCloneMILP (const CouenneFeasPump *fp, CbcModel *model, bool isMILP)
 create clone of MILP and add variables for special objective
void addDistanceConstraints (const CouenneFeasPump *fp, OsiSolverInterface *lp, double *sol, bool isMILP)
 modify MILP or LP to implement distance by adding extra rows (extra cols were already added by createCloneMILP)


Define Documentation

#define COUENNE_EIG_RATIO   .1

Definition at line 21 of file CouenneFPcreateMILP.cpp.

Referenced by ComputeSquareRoot().

#define INT_LP_BRACKET   0

Referenced by addDistanceConstraints().

#define GRADIENT_WEIGHT   1

Definition at line 181 of file CouenneFPcreateMILP.cpp.

Referenced by ComputeSquareRoot().


Function Documentation

void ComputeSquareRoot ( const CouenneFeasPump fp,
CouenneSparseMatrix hessian,
CoinPackedVector *  P 
)

computes square root of a CouenneSparseMatrix

Definition at line 183 of file CouenneFPcreateMILP.cpp.

References COUENNE_EIG_RATIO, COUENNE_EPS, GRADIENT_WEIGHT, Couenne::J_NLPHEURISTIC(), k, and n.

Referenced by addDistanceConstraints().

OsiSolverInterface* createCloneMILP ( const CouenneFeasPump fp,
CbcModel *  model,
bool  isMILP 
)

create clone of MILP and add variables for special objective

Definition at line 29 of file CouenneFPcreateMILP.cpp.

References Couenne::isInteger(), and lp.

Referenced by Couenne::CouenneFeasPump::solveMILP().

void addDistanceConstraints ( const CouenneFeasPump fp,
OsiSolverInterface *  lp,
double *  sol,
bool  isMILP 
)

modify MILP or LP to implement distance by adding extra rows (extra cols were already added by createCloneMILP)

Definition at line 71 of file CouenneFPcreateMILP.cpp.

References ComputeSquareRoot(), INT_LP_BRACKET, Couenne::isInteger(), k, n, and P.

Referenced by Couenne::CouenneFeasPump::solveMILP().


Generated on Thu Nov 10 03:10:01 2011 by  doxygen 1.4.7