SAS Optimization, and SAS Simulation Studio

turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

Topic Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

12-12-2016 10:35 PM - edited 12-12-2016 11:32 PM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to m3lon00

12-12-2016 11:05 PM

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?

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to RobPratt

12-12-2016 11:11 PM

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.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to m3lon00

12-12-2016 11:34 PM

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.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to RobPratt

12-12-2016 11:40 PM

I figured it out, thank you so much for your help

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to m3lon00

12-12-2016 11:56 PM

@m3lon00, did you purposely delete your question statement?

PG