User talk:SreenathaB: Difference between revisions
Jump to navigation
Jump to search
m Welcome! |
SreenathaB (talk | contribs) →My first ASCEND model: new section |
||
| Line 3: | Line 3: | ||
You will probably want to read the [[Help:Contents|help pages]]. | You will probably want to read the [[Help:Contents|help pages]]. | ||
Again, welcome and have fun! [[User:Jpye|Jpye]] 04:54, 4 April 2012 (EST) | Again, welcome and have fun! [[User:Jpye|Jpye]] 04:54, 4 April 2012 (EST) | ||
== My first ASCEND model == | |||
<source lang=a4c> | |||
REQUIRE "system.a4l"; | |||
MODEL my_model; | |||
(* variable *) | |||
x,y,z,d IS_A solver_var; | |||
(* specifications *) | |||
d=1; | |||
(* equation *) | |||
x+y+z = 6*d; | |||
x+y+2*z = 5; | |||
5*x + 2*y - 3*z = 0; | |||
END my_model; | |||
</source> | |||
Latest revision as of 22:21, 5 April 2012
Welcome to ASCEND! We hope you will contribute much and well. You will probably want to read the help pages. Again, welcome and have fun! Jpye 04:54, 4 April 2012 (EST)
My first ASCEND model
REQUIRE "system.a4l"; MODEL my_model; (* variable *) x,y,z,d IS_A solver_var; (* specifications *) d=1; (* equation *) x+y+z = 6*d; x+y+2*z = 5; 5*x + 2*y - 3*z = 0; END my_model;