Changeset 32


Ignore:
Timestamp:
Sep 6, 2006 5:09:41 PM (13 years ago)
Author:
pbonami
Message:

Fix MyTMINLP (changes by Paul Hines).

Location:
trunk/Bonmin/examples/CppExample
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Bonmin/examples/CppExample/MyTMINLP.cpp

    r1 r32  
    7272bool
    7373MyTMINLP::get_starting_point(Index n, bool init_x, Number* x,
    74                        Index m, bool init_lambda, Number* lambda)
     74                             bool init_z, Number* z_L, Number* z_U,
     75                             Index m, bool init_lambda,
     76                             Number* lambda)
    7577{
    7678  assert(n==4);
  • trunk/Bonmin/examples/CppExample/MyTMINLP.hpp

    r1 r32  
    8989    \param lambda lower bounds of the constraints (function should fill it).
    9090    \return true in case of success.*/
    91   virtual bool get_starting_point(Index n, bool init_x, Number* x,                                 
     91  virtual bool get_starting_point(Index n, bool init_x, Number* x,
     92                                  bool init_z, Number* z_L, Number* z_U,
    9293                                  Index m, bool init_lambda,
    9394                                  Number* lambda);
Note: See TracChangeset for help on using the changeset viewer.