Update of bug #25141 (project freeciv):
Status: None => Ready For Test
Planned Release: => 2.5.6, 2.6.0, 3.0.0
_______________________________________________________
Follow-up Comment #1:
The problem was that 'best' solution was initialized with zero values, and
thus negative solutions were always considered less-than-best. In other words
emergency parameter, supposed to accept any, even negative, solution, did not
work at all.
Fix attached.
I'm yet to measure if this (considering even negative solutions) gives
noticeable performance hit. In any case it could make optimization sense to
initialize with minimum surpluses requested, so that solutions unacceptable
because of them are not even explored.
(file #28900, file #28901)
_______________________________________________________
Additional Item Attachment:
File name: NegativeSolutionMinimal.patch Size:1 KB
File name: NegativeSolutionMinimal-S2_5.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?25141>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev