[AMPL 2836] indicator function?

View: New views
1 Messages — Rating Filter:   Alert me  

[AMPL 2836] indicator function?

by Justin Ho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'm pretty new to ampl and I'm wondering if there is a built-in
indicator function?  I have an integer variable and want to check
whether it equals a given integer.  Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To post to this group, send email to ampl@...
To unsubscribe from this group, send email to ampl+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/ampl?hl=en
-~----------~----~----~----~------~----~------~--~---