Your Trigger constraint contains a product of decision variables and hence is nonlinear. Also, it is redundant because the left hand side is a sum of nonnegative summands. If you remove this constraint, the MILP solver will return an optimal solution with InspectDecision[j] = 0 for all j.
What logical condition on the other decision variables do you want to force InspectDecision[j] = 1?
I wanted to enfore that the trigger was 1 and multipled by the fixed cost for any of the Ts facilities that received any shipments at all.
In other words, you want inflow[i,j] > 0 to force InspectDecision[j] = 1. Hint: You can do that by introducing InspectDecision[j] into the xMaxP constraint while keeping that constraint linear.
I figured it out, thank you so much for your help
@m3lon00, did you purposely delete your question statement?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.