Ignore:
Timestamp:
Nov 2, 2006 2:08:51 PM (13 years ago)
Author:
pbonami
Message:

Fixes too few degrees of freedom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Bonmin/src/Interfaces/BonOsiTMINLPInterface.cpp

    r101 r104  
    21032103
    21042104#if 1
    2105   if(optimization_status_ == -10)//Too few degrees of freedom
     2105  if(optimization_status_ == TNLPSolver::notEnoughFreedom)//Too few degrees of freedom
    21062106    {
    21072107      std::cout<<"Too few degrees of freedom...."<<std::endl;
     
    21612161  else
    21622162#endif
    2163     if(optimization_status_ < -9)//Ipopt failed and the error can not be recovered, throw it
     2163    if(optimization_status_ < -1)//Ipopt failed and the error can not be recovered, throw it
    21642164  {
    21652165    throw newUnsolvedError(optimization_status_);
Note: See TracChangeset for help on using the changeset viewer.