Changeset 362


Ignore:
Timestamp:
Jun 6, 2010 3:47:42 PM (10 years ago)
Author:
pbelotti
Message:

changed MINLP interface to suit FP

Location:
trunk/Couenne/src/interfaces
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Couenne/src/interfaces/CouenneMINLPInterface.cpp

    r349 r362  
    1 /*
     1/* $Id$
    22 *
     3 * Name:    CouenneMINLPInterface
     4 * Author:  Pietro Belotti
     5 * Purpose: MINLP interface with computation of gradient and Jacobian
     6 *          through CouenneExpressions
    37 *
    4  *
    5  *
    6  *
     8 * (C) Pietro Belotti 2010
     9 * This file is licensed under the Common Public License (CPL)
    710 */
    811
     
    1720
    1821/// sets the initial solution for the NLP solver
    19 void CouenneMINLPInterface::setInitSol (CouNumber *sol) {
     22void CouenneMINLPInterface::setInitSol (const CouNumber *sol) {
    2023 
    2124}
  • trunk/Couenne/src/interfaces/CouenneMINLPInterface.hpp

    r349 r362  
    6363
    6464    /// sets the initial solution for the NLP solver
    65     void setInitSol (CouNumber *sol);
     65    void setInitSol (const CouNumber *sol);
    6666
    6767    /// solves and returns the optimal objective function and the
Note: See TracChangeset for help on using the changeset viewer.