Ignore:
Timestamp:
Dec 3, 2008 11:53:28 AM (11 years ago)
Author:
forrest
Message:

To allow solving a structured model
(This is just proof of concept initial coding)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpSimplex.hpp

    r1288 r1311  
    2222class ClpNonLinearCost;
    2323class ClpNodeStuff;
    24 class CoinModel;
     24class CoinStructuredModel;
    2525class OsiClpSolverInterface;
    2626class CoinWarmStartBasis;
     
    293293      =1 use solution */
    294294  int reducedGradient(int phase=0);
     295  /// Solve using structure of model and maybe in parallel
     296  int solve(CoinStructuredModel * model);
     297  /** This loads a model from a CoinStructuredModel object - returns number of errors.
     298      If originalOrder then keep to order stored in blocks,
     299      otherwise first column/rows correspond to first block - etc.
     300      If keepSolution true and size is same as current then
     301      keeps current status and solution
     302  */
     303  int loadProblem (  CoinStructuredModel & modelObject,
     304                     bool originalOrder=true,bool keepSolution=false);
    295305  /**
    296306     When scaling is on it is possible that the scaled problem
Note: See TracChangeset for help on using the changeset viewer.