This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
This specific error can be safely ignored. R treats any return code from C++ that is not 0 as error. However, the model still executes and produces a result. This error message is commonly seen with larger data sets, although I'm not getting the error on my end.
If I'm understanding your workflow properly with your A constraints matrix, Customer 1 should only be sourced by one of the DCs (24, 8, or 9)?
If so, you'll need to add an additional constraint column for each customer, You should have 1 for the specific customer and NULL (or zero) if not that customer). Each constraint should be "=1". This is the equivalent to saying that all of the demand for customer C-1 should be filled from one and only one distribution center.