optimization_term bug

Moderators: michael_borland, soliday

Post Reply
michael_borland
Posts: 1959
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

optimization_term bug

Post by michael_borland » 06 Aug 2015, 16:46

The weight parameter of the &optimization_term command is ignored. This will be fixed in the next release. Those building from source can use the attached file, which has the patch.

A work-around is to add the weight to the expression, e.g., instead of

Code: Select all

&optimization_term
	term = "betax sqr", weight=10
&end
use

Code: Select all

&optimization_term
	term = "betax sqr 10 *"
&end
--Michael
Attachments
optimize.c
(113.99 KiB) Downloaded 552 times

Post Reply