From coin-trac at coin-or.org  Thu Jul 22 19:55:41 2010
From: coin-trac at coin-or.org (OBOE)
Date: Thu, 22 Jul 2010 23:55:41 -0000
Subject: [OBOE-tickets] [OBOE] #13: stopping when LocSet is empty
Message-ID: <052.1d4017923dbd80a8a8fbd495ae0cc517@coin-or.org>

#13: stopping when LocSet is empty
-------------------------+--------------------------------------------------
 Reporter:  axjiang      |       Owner:  somebody
     Type:  enhancement  |      Status:  new     
 Priority:  minor        |   Milestone:          
Component:  component1   |     Version:          
 Keywords:               |  
-------------------------+--------------------------------------------------
 I would like to have the option of stopping the algorithm when the LocSet
 becomes empty (manager.getExitCode() is LOCSET_EMPTY or CHOLESKY_FAILURE).
 Right now this doesn't happen by default, and as a result the algorithm
 would sometimes crash (e.g. assertion error when dividing by a near zero
 number). Is there a way to access Manager's exit code from the user side?
 I tried to do that by subclassing QpGenerator, but got a compile error
 because Manager.h was not exported.

-- 
Ticket URL: <https://projects.coin-or.org/OBOE/ticket/13>
OBOE <https://projects.coin-or.org/OBOE>
OBOE


From coin-trac at coin-or.org  Fri Jul 23 03:42:03 2010
From: coin-trac at coin-or.org (OBOE)
Date: Fri, 23 Jul 2010 07:42:03 -0000
Subject: [OBOE-tickets] [OBOE] #13: stopping when LocSet is empty
In-Reply-To: <052.1d4017923dbd80a8a8fbd495ae0cc517@coin-or.org>
References: <052.1d4017923dbd80a8a8fbd495ae0cc517@coin-or.org>
Message-ID: <061.f5a9bf61d31e930c61080d9cb5e16cf1@coin-or.org>

#13: stopping when LocSet is empty
-------------------------+--------------------------------------------------
 Reporter:  axjiang      |       Owner:  nsawhney
     Type:  enhancement  |      Status:  assigned
 Priority:  minor        |   Milestone:          
Component:  component1   |     Version:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by nsawhney):

  * owner:  somebody => nsawhney
  * status:  new => assigned


-- 
Ticket URL: <https://projects.coin-or.org/OBOE/ticket/13#comment:1>
OBOE <https://projects.coin-or.org/OBOE>
OBOE


From coin-trac at coin-or.org  Fri Jul 23 03:58:05 2010
From: coin-trac at coin-or.org (OBOE)
Date: Fri, 23 Jul 2010 07:58:05 -0000
Subject: [OBOE-tickets] [OBOE] #13: stopping when LocSet is empty
In-Reply-To: <052.1d4017923dbd80a8a8fbd495ae0cc517@coin-or.org>
References: <052.1d4017923dbd80a8a8fbd495ae0cc517@coin-or.org>
Message-ID: <061.bfb957fd56c17786fd8419bb9b88caac@coin-or.org>

#13: stopping when LocSet is empty
--------------------------+-------------------------------------------------
  Reporter:  axjiang      |       Owner:  nsawhney
      Type:  enhancement  |      Status:  closed  
  Priority:  minor        |   Milestone:          
 Component:  component1   |     Version:          
Resolution:  fixed        |    Keywords:          
--------------------------+-------------------------------------------------
Changes (by nsawhney):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 This should be possible with the current code. The QpGenerator class
 provides access to the exit code from the Manager class via the function
 call getExitCode. In your implementation of the eval() function of the
 oracle you can check if getExitCode() is one of your required conditions
 in which case eval() should return 1, which signals termination to
 QpGenerator.

-- 
Ticket URL: <https://projects.coin-or.org/OBOE/ticket/13#comment:2>
OBOE <https://projects.coin-or.org/OBOE>
OBOE


