-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buggy Model for csplib-prob008 #437
Comments
This sounds sensible. We already have a function which enforces that containers are not on top of each other. |
@ott2 says (over email). I copy it here Andras, to keep the discussion in one place (and visible to @StephanGocht) The suggested fix is reasonable, but there needs to be a comment noting There is an issue, since "separation" is defined over distinct pairs of The spec seems prematurely optimised. To avoid writing out the whole The fix might depend on the intended semantics. I could certainly see |
To add, I wonder if it is at all sensible to have separation between two containers of the same class? If so, would it make sense to change the type of separation to:
I am not sure if this makes sense, I need to remind myself the problem specification, probably after the summer school though :) |
As mentioned in email, this would require the |
The model for csplib-prob008 is buggy. It can happen that two containers have the same class in which case the separation function is undefined.
As I understand the problem the intended constraint is
class(c1) != class(c2)
instead ofc1 != c2
. This would avoid accessing undefined values of the separation function.The text was updated successfully, but these errors were encountered: