Ignore:
Timestamp:
Mar 15, 2019 11:56:51 AM (7 months ago)
Author:
stefan
Message:

sync with trunk

Location:
stable/1.17
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • stable/1.17

    • Property svn:externals
      •  

        old new  
        1 BuildTools  https://projects.coin-or.org/svn/BuildTools/releases/0.8.8/
        2 ThirdParty/ASL  https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/releases/1.4.1/
        3 ThirdParty/Blas  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/releases/1.4.7/
        4 ThirdParty/Lapack  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/releases/1.6.0/
        5 ThirdParty/Metis  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Metis/releases/1.3.7/
        6 ThirdParty/Mumps  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/releases/1.6.1/
        7 ThirdParty/Glpk  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/releases/1.10.6/
        8 Data/Netlib  https://projects.coin-or.org/svn/Data/Netlib/releases/1.2.7/
        9 Data/Sample  https://projects.coin-or.org/svn/Data/Sample/releases/1.2.11/
        10 CoinUtils  https://projects.coin-or.org/svn/CoinUtils/releases/2.11.0/CoinUtils
        11 Osi  https://projects.coin-or.org/svn/Osi/releases/0.108.0/Osi
        12 
         1BuildTools        https://projects.coin-or.org/svn/BuildTools/stable/0.8
         2ThirdParty/ASL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.4
         3ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.4
         4ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.6
         5ThirdParty/Metis  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Metis/stable/1.3
         6ThirdParty/Mumps  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/stable/1.6
         7ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/stable/1.10
         8Data/Netlib       https://projects.coin-or.org/svn/Data/Netlib/stable/1.2
         9Data/Sample       https://projects.coin-or.org/svn/Data/Sample/stable/1.2
         10CoinUtils         https://projects.coin-or.org/svn/CoinUtils/stable/2.11/CoinUtils
         11Osi               https://projects.coin-or.org/svn/Osi/stable/0.108/Osi
    • Property svn:mergeinfo changed
      /trunk (added)merged: 2396,​2405-2409,​2422-2430
  • stable/1.17/Clp

  • stable/1.17/Clp/src

  • stable/1.17/Clp/src/AbcSimplex.cpp

    r2385 r2431  
    364364    abcDualRowPivot_ = new AbcDualRowSteepest();
    365365    abcPrimalColumnPivot_ = new AbcPrimalColumnSteepest();
    366     internalStatus_ = newArray(reinterpret_cast< unsigned char * >(NULL),
     366    internalStatus_ = newArray((unsigned char *)NULL,
    367367      sizeArray + maximumNumberTotal_);
    368     abcLower_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    369     abcUpper_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    370     abcCost_ = newArray(reinterpret_cast< double * >(NULL), sizeArray + maximumNumberTotal_);
    371     abcDj_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    372     abcSolution_ = newArray(reinterpret_cast< double * >(NULL), sizeArray + maximumNumberTotal_);
    373     //fromExternal_ = newArray(reinterpret_cast<int *>(NULL),sizeArray);
    374     //toExternal_ = newArray(reinterpret_cast<int *>(NULL),sizeArray);
    375     scaleFromExternal_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    376     offset_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    377     abcPerturbation_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    378     abcPivotVariable_ = newArray(reinterpret_cast< int * >(NULL), maximumAbcNumberRows_);
     368    abcLower_ = newArray((double *)NULL, sizeArray);
     369    abcUpper_ = newArray((double *)NULL, sizeArray);
     370    abcCost_ = newArray((double *)NULL, sizeArray + maximumNumberTotal_);
     371    abcDj_ = newArray((double *)NULL, sizeArray);
     372    abcSolution_ = newArray((double *)NULL, sizeArray + maximumNumberTotal_);
     373    //fromExternal_ = newArray((int *)NULL,sizeArray);
     374    //toExternal_ = newArray((int *)NULL,sizeArray);
     375    scaleFromExternal_ = newArray((double *)NULL, sizeArray);
     376    offset_ = newArray((double *)NULL, sizeArray);
     377    abcPerturbation_ = newArray((double *)NULL, sizeArray);
     378    abcPivotVariable_ = newArray((int *)NULL, maximumAbcNumberRows_);
    379379    // Fill perturbation array
    380380    setupPointers(maximumAbcNumberRows_, maximumAbcNumberColumns_);
     
    548548  subProblem->numberTotalWithoutFixed_ = subProblem->numberTotal_;
    549549  int sizeArray = 2 * subProblem->maximumNumberTotal_ + maximumAbcNumberRows_;
    550   subProblem->internalStatus_ = newArray(reinterpret_cast< unsigned char * >(NULL),
     550  subProblem->internalStatus_ = newArray((unsigned char *)NULL,
    551551    sizeArray + subProblem->maximumNumberTotal_);
    552   subProblem->abcLower_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    553   subProblem->abcUpper_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    554   subProblem->abcCost_ = newArray(reinterpret_cast< double * >(NULL), sizeArray + subProblem->maximumNumberTotal_);
    555   subProblem->abcDj_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    556   subProblem->abcSolution_ = newArray(reinterpret_cast< double * >(NULL), sizeArray + subProblem->maximumNumberTotal_);
    557   //fromExternal_ = newArray(reinterpret_cast<int *>(NULL),sizeArray);
    558   //toExternal_ = newArray(reinterpret_cast<int *>(NULL),sizeArray);
    559   subProblem->scaleFromExternal_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    560   subProblem->offset_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    561   subProblem->abcPerturbation_ = newArray(reinterpret_cast< double * >(NULL), sizeArray);
    562   subProblem->abcPivotVariable_ = newArray(reinterpret_cast< int * >(NULL), maximumAbcNumberRows_);
     552  subProblem->abcLower_ = newArray((double *)NULL, sizeArray);
     553  subProblem->abcUpper_ = newArray((double *)NULL, sizeArray);
     554  subProblem->abcCost_ = newArray((double *)NULL, sizeArray + subProblem->maximumNumberTotal_);
     555  subProblem->abcDj_ = newArray((double *)NULL, sizeArray);
     556  subProblem->abcSolution_ = newArray((double *)NULL, sizeArray + subProblem->maximumNumberTotal_);
     557  //fromExternal_ = newArray((int *)NULL,sizeArray);
     558  //toExternal_ = newArray((int *)NULL,sizeArray);
     559  subProblem->scaleFromExternal_ = newArray((double *)NULL, sizeArray);
     560  subProblem->offset_ = newArray((double *)NULL, sizeArray);
     561  subProblem->abcPerturbation_ = newArray((double *)NULL, sizeArray);
     562  subProblem->abcPivotVariable_ = newArray((int *)NULL, maximumAbcNumberRows_);
    563563  subProblem->setupPointers(maximumAbcNumberRows_, numberColumns);
    564564  // could use arrays - but for now be safe
Note: See TracChangeset for help on using the changeset viewer.