Design variable decimals

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi,

 

I have been using the HyperStudy optimization for some time and it looks to me that many of my optimization problems goes on forever and not giving me a solution though its a very simple model with single objective and some constraints. 

 

I looked at the evaluation data and found that Hyperstudy uses several decimal digits when it passes the design variable for the next iteration. I just want Hyperstudy to limit it to 1 or 2 decimals. Is there a way where I can specify the accuracy of decimal digits during optimization|?

 

Thanks in advance

Answers

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited April 2018

    Which optimization method or algorithm you are using for optimization run?

    If possible share hstx file.

    <?xml version="1.0" encoding="UTF-8"?>optimization method.JPG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    Hi Rahul, 

     

    I have been using Global Response Search Method. I am not able to find any *.hstx file. Is it some other file should I look for?

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited April 2018

    Please try with GA or MOGA method.

    <?xml version="1.0" encoding="UTF-8"?>optimization method.JPG

    <?xml version="1.0" encoding="UTF-8"?>GRSM.JPG

  • Diana_38240
    Diana_38240
    Altair Employee
    edited November 2020

    Hello, 

     

    In addition of Rahul's answers I would like to provide some additional information. 

    1) Let me come back to your initial request. You said that your optimization with GRSM did not provide a satisfying solution. I would suggest to investigate this. Please, find attached some good practices on GRSM use that may help you to get insight on your optimization.  

    2) Menu File --> Export archive allows packaging the study files in archive file (.hstx).

    3) The values precision for continuous dvs is managed internally by HyperStudy. If you would like that dvs take specific values (with less decimals) you may prefer using discrete variables instead of continuous ones. Thus, you can specify the variation step (ex. 0.1) in the allowed range.

     

    Hope it helps. 

    Unable to find an attachment - read this blog