The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Prescriptive optimizer to a target value.

thabelangkgotsothabelangkgotso Member Posts: 2 Learner I
Hi, I've been trying to create a prescriptive model that optimizes a parameter. However, I want to optimise to a particular value. I can only find the extract performance operator, but that only has maximum and minimum options. What can I use inside the prescriptive optimizer operator to do this?

Best Answer

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Solution Accepted
    Hi,
    What you can do is to penalize values bigger than x like this:
    optmizationValue = x - if(x>eval%{target},1e5,0)
    this way you avoid values > target.
    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Hi,
    usually you just create the value

    pow(value-targetvalue,2)
    and then extract this value to optimize on. Similarly you can optimize on more than one value at a time.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • thabelangkgotsothabelangkgotso Member Posts: 2 Learner I
    Hi 

    Thank you for the response. I meant, how do I limit the maximum value? So if I'm trying to optimise x by changing a,b, and c, how do I cap the maximum value that x can be maximized to? 

    This is what I have so far:


Sign In or Register to comment.