Changeset 1125 for trunk


Ignore:
Timestamp:
Jan 16, 2009 9:47:39 AM (11 years ago)
Author:
forrest
Message:

ampl compiler errors

Location:
trunk/Cbc/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcSolver.cpp

    r1124 r1125  
    81988198#endif
    81998199#ifdef COIN_HAS_ASL
     8200#if NEW_STYLE_SOLVER
    82008201                if (statusUserFunction_[0]) {
    82018202                  clpSolver = dynamic_cast< OsiClpSolverInterface*> (babModel_->solver());
     
    82688269                  strcpy(info.buffer,buf);
    82698270                }
     8271#endif
    82708272#endif
    82718273              } else {
  • trunk/Cbc/src/Cbc_ampl.cpp

    r1107 r1125  
    719719 */
    720720CoinModel::CoinModel( int nonLinear, const char * fileName,const void * info)
    721  :  numberRows_(0),
    722     maximumRows_(0),
    723     numberColumns_(0),
    724     maximumColumns_(0),
    725     numberElements_(0),
    726     maximumElements_(0),
    727     numberQuadraticElements_(0),
    728     maximumQuadraticElements_(0),
    729     optimizationDirection_(1.0),
    730     objectiveOffset_(0.0),
    731     rowLower_(NULL),
    732     rowUpper_(NULL),
    733     rowType_(NULL),
    734     objective_(NULL),
    735     columnLower_(NULL),
    736     columnUpper_(NULL),
    737     integerType_(NULL),
    738     columnType_(NULL),
    739     start_(NULL),
    740     elements_(NULL),
    741     quadraticElements_(NULL),
    742     sortIndices_(NULL),
    743     sortElements_(NULL),
    744     sortSize_(0),
    745     sizeAssociated_(0),
    746     associated_(NULL),
    747     numberSOS_(0),
    748     startSOS_(NULL),
    749     memberSOS_(NULL),
    750     typeSOS_(NULL),
    751     prioritySOS_(NULL),
    752     referenceSOS_(NULL),
    753     priority_(NULL),
    754     cut_(NULL),
    755     moreInfo_(NULL),
    756     logLevel_(0),
    757     type_(-1),
    758     links_(0)
     721  :  CoinBaseModel(),
     722     maximumRows_(0),
     723     maximumColumns_(0),
     724     numberElements_(0),
     725     maximumElements_(0),
     726     numberQuadraticElements_(0),
     727     maximumQuadraticElements_(0),
     728     rowLower_(NULL),
     729     rowUpper_(NULL),
     730     rowType_(NULL),
     731     objective_(NULL),
     732     columnLower_(NULL),
     733     columnUpper_(NULL),
     734     integerType_(NULL),
     735     columnType_(NULL),
     736     start_(NULL),
     737     elements_(NULL),
     738     packedMatrix_(NULL),
     739     quadraticElements_(NULL),
     740     sortIndices_(NULL),
     741     sortElements_(NULL),
     742     sortSize_(0),
     743     sizeAssociated_(0),
     744     associated_(NULL),
     745     numberSOS_(0),
     746     startSOS_(NULL),
     747     memberSOS_(NULL),
     748     typeSOS_(NULL),
     749     prioritySOS_(NULL),
     750     referenceSOS_(NULL),
     751     priority_(NULL),
     752     cut_(NULL),
     753     moreInfo_(NULL),
     754     type_(-1),
     755     links_(0)
    759756{
    760757  problemName_ = "";
Note: See TracChangeset for help on using the changeset viewer.