Optimizer Error message

Options
sourabhvk
sourabhvk Member, ALL USERS, Partner Posts: 5 Occasional Contributor

Hi,

 

I am building a small optimization model, I am getting "Constraint does not exist" error message. I am not able to identify why I am getting this error.  can anyone please help?

 

Thanks,

Sourabh

 

 

Tagged:

Comments

  • sourabhvk
    sourabhvk Member, ALL USERS, Partner Posts: 5 Occasional Contributor

    I am developing a small production optimization model. I am getting following error.Error.png

     

     

     

     

     

     

     

     

     

     

     

    Can anyone please help me to resolve it?

    My model details are as below -

    My objective function is to maximize the profit. Profit is calculated as Total Price – Total Cost. Price is assigned to End items while the Cost is assigned to Components.

    The production plan is constrained by work center capacity. Apart from capacity following are other constraints –

    1. End Product Production Quantity Constraint - PP_Optimization.No of End Items <= End Product Demand.demand
    2. Component Production Quantity Constraint - PP_Optimization.No of Components - 1 * PP_Optimization.Total Component Demand = 0

    The blue print view for the constraint is as below –
    Constraints.png

     

     

    The blue print view for PP_Optimization module is as below –Optmization module.png

     

     

     

    The action configuration is as below –

     

    Action configuration.png 

  • sourabhvk
    sourabhvk Member, ALL USERS, Partner Posts: 5 Occasional Contributor

    @samaplanThanks for your inputs. These are really helpful.

     

    Thanks,

    Sourabh Kulkarni

  • manas.malhotra@in.ey.com
    manas.malhotra@in.ey.com Member, ALL USERS Posts: 5 Occasional Contributor

    I have faced lot of such issue and realized that if we do complex calculation and use output in the constraints creation , was getting the issue you specified.

     

    Best is keep all the variable on side of the equaiton and all the constants on other side,

     

    such issue would not appear

     

    Regards

    Manas Malhotra