User Tools

Site Tools


code_style

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

code_style [2019/12/13 10:36] (current)
alexanderg created
Line 1: Line 1:
  
 +**Table 2: Main elements of the CAPRI data base**
 +<​Code:​javascipt linenums:0 |Example #1 Our gams code: //​hello.php//>​
 +
 + ​p_trqBilat(RM,"​LDC",​XX,"​TrqNT","​%SIMY%"​) $ (DATA(RM,"​TARS",​XX,"​%SIMY%"​) or DATA(RM,"​TARV",​XX,"​%SIMY%"​)) = 1.E+10;
 + ​p_trqBilat(RM,"​LDC",​XX,"​TsPref","​%SIMY%"​) $ DATA(RM,"​TARS",​XX,"​%SIMY%"​) = 0.001;
 + ​p_trqBilat(RM,"​LDC",​XX,"​TaPref","​%SIMY%"​) $ DATA(RM,"​TARV",​XX,"​%SIMY%"​) = 0.001;
 +
 + ​p_trqBilat(RM,​RM1,​XX,​TrqSet,"​CUR"​) ​ = p_trqBilat(RM,​RM1,​XX,​TrqSet,"​%SIMY%"​);​
 + ​p_trqGlobl(RM,​XX,​TrqSet,"​CUR"​) ​     = p_trqGlobl(RM,​XX,​TrqSet,"​%SIMY%"​);​
 +
 + ​DATA(RM,"​TARS",​XX,"​CUR"​) = DATA(RM,"​TARS",​XX,"​%SIMY%"​);​
 + ​DATA(RM,"​TARV",​XX,"​CUR"​) = DATA(RM,"​TARV",​XX,"​%SIMY%"​);​
 +*
 +</​Code>​
code_style.txt ยท Last modified: 2019/12/13 10:36 by alexanderg