🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Prescriptive optimizer to a target value.

User: "thabelangkgotso"
New Altair Community Member
Updated by Jocelyn
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?

Find more posts tagged with

Sort by:
1 - 3 of 31
    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
    User: "thabelangkgotso"
    New Altair Community Member
    OP
    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:


    User: "MartinLiebig"
    Altair Employee
    Accepted Answer
    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