Ignore:
Timestamp:
Oct 9, 2003 12:12:15 PM (16 years ago)
Author:
forrest
Message:

Start of mini sprint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pre/ClpSolve.cpp

    r221 r222  
    540540    int smallNumberColumns = min(3*numberRows,numberColumns);
    541541    smallNumberColumns = max(smallNumberColumns,3000);
     542    //int smallNumberColumns = min(12*numberRows/10,numberColumns);
     543    //smallNumberColumns = max(smallNumberColumns,3000);
     544    //smallNumberColumns = max(smallNumberColumns,numberRows+1000);
    542545    // We will be using all rows
    543546    int * whichRows = new int [numberRows];
     
    730733  return finalStatus;
    731734}
     735// General solve
     736int
     737ClpSimplex::initialSolve()
     738{
     739  // Default so use dual
     740  ClpSolve options;
     741  return initialSolve(options);
     742}
     743// General dual solve
     744int
     745ClpSimplex::initialDualSolve()
     746{
     747  ClpSolve options;
     748  // Use dual
     749  options.setSolveType(ClpSolve::useDual);
     750  return initialSolve(options);
     751}
     752// General dual solve
     753int
     754ClpSimplex::initialPrimalSolve()
     755{
     756  ClpSolve options;
     757  // Use primal
     758  options.setSolveType(ClpSolve::usePrimal);
     759  return initialSolve(options);
     760}
    732761// Default constructor
    733762ClpSolve::ClpSolve (  )
Note: See TracChangeset for help on using the changeset viewer.