Variable with limited decimal number.
Hi.
I use optfeko to optimize a model.
I get a pretty large number for the variable.
How can I set the variable to something like 100.00?
Thank you for any help.
Answers
-
Hi @Igor Jobim ,
you can achieve this by using "Grid search":
In the attached example (Feko 2022.1.2) I optimize the length of a dipole, where the corresponding variable may only take values = -100 mm to 100 mm in 10 mm steps. For the grid search I therefore choose 21 points.
Hope this helps!
Best regards,
Torben0 -
Thanks for your reply @Torben Voigt.
I read the manual to better understand how "Grid search" works.
The model has four variables to be analyzed in the optimization. Immediately when starting optfeko appears:
"WARNING 21327: Grid Search may be inefficient due to the large number of analyzes requested".
Maybe I didn't explain correctly what I need.
I want the variable to receive a short number such as 101.64 or 101.6 instead of 1.016419981e+02.
Thank you again.0 -
Hi @Igor Jobim,
Unfortunately there is no possibility in Feko's optimizer. Maybe HyperStudy (https://www.altair.com/hyperstudy/) is something for you?
Best regards,
Torben0