Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Certain Goal Seek constellation loops forever (was: Goal Seek limitations) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Calc | Reporter: | ademol <ademol> | ||||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||||
Status: | ACCEPTED --- | QA Contact: | |||||||
Severity: | Trivial | ||||||||
Priority: | P3 | CC: | issues | ||||||
Version: | OOo 2.3 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
ademol
2003-09-18 09:25:39 UTC
Hi Eike, I think this is a double to internal BugID 110262. Frank The internal BugID is #110262# Frank This happens if more than 50 _recursive formula cells_ steps are involved. Yes, big construction site, need reimplementation of recursive calculations (graph oriented instead of simple stack oriented). A graph solution would also ease handling of circular iterative calculations as described in issue 956, and prevent the exasperating Err:527 as described in issue 7309. Created attachment 9445 [details]
Goal seek on cell D19 as formula cell and 0 (zero) as result. Variable cell is D1.
Retesting with version 2.0.4.7 This issue is still present but the number of iterations is now 400 (instead of 50) Perhaps a better solution is to use the number of iteration steps which can be configure in the option menu as the maximum number of computation steps (default is 100) Created attachment 48402 [details]
goalseek to target 401 with variable A1 works in cell E3 but not in cell F3
Actually there is no arbitrary limit anymore since reimplementation of calculation of deep-nested and circular formulas with issues 20986, 21124, 4874, 7309, and this issue should had been closed along with them. Anyway, the attached goalseek.ods document even loops in OOo2.3 when goalseeking like described. This needs fixing, adapting summary and retargeting to OOo2.4 Debug note: ScFormulaCell:Interpret() rRecursionHelper.bInRecursionReturn is endlessly reset to true while executing the loop do {...} while (rRecursionHelper.IsInRecursionReturn()); without new cells being added to the recursion list. Reset assigne to the default "issues@openoffice.apache.org". |