-
Notifications
You must be signed in to change notification settings - Fork 10
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
Constraint should be a keyword #6
Comments
Could you upload a sample code file to https://gist.github.com or can you link to sample code on github? Is the code sample on the linked page a complete file? Once there is some sample code on github, syntax highlight can be tested with Lightshow. |
Sure thing, I've put a code sample on gist here. I do use this model for some of my work, so the code should be well-formed. |
OK, here is the link to highlight your file with Lightshow: Note: Your file has the extension .mop (instead of .mo). Do all Optimica files have that extension? Then the extension would also have to be added to the list of accepted extensions. |
Lightshow's pretty cool! I'm afraid I don't know about the extensions; I think that one copies an example file I downloaded from the JModelica documentation, but cannot recall for sure.
|
constraint
andoptimization
should be keywords, likeequation
andalgorithm
are.These terms are used in optimization. See here for details.
The text was updated successfully, but these errors were encountered: