-
Notifications
You must be signed in to change notification settings - Fork 94
Add naming conventions. #1476
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
Add naming conventions. #1476
Conversation
Thanks for having a look :)! |
It looks like the discussion is in #1459, so I responded there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@blegat suggests Cartesian products are plural, without "cone"
* The name of the set is singular, instead of plural: prefer `Integer` to | ||
`Integers`. | ||
* The sets are named with nouns instead of verbs. Usual sets in mixed-integer | ||
and convex programming only have such names. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about Complements
? I think we should just remove this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a similar rule would really help with CP sets. Plus, I'm not sure that Complements
is a good name in this case (#1459 (comment)): typically, complements
is used as an infix operator in modelling languages, but MOI doesn't have "infix sets".
Merging these for now. We can always refine later |
Follows #1459.