#
# In this TCL script, you have to configure how to calculate
# the objective function (yopt) from data of output files.
# You can use a specially prepared command "GetOutputData" for it. 
# Its syntax is as below:
#
#     GetOutputData file line column
#
# The command has 4 arguments. "file" is the file to be loaded under
# "Output_data" folder, "line" and "column" are the line and column
# to be retrieved, respectively. 
# The command returns the corresponding value.
# 
# Note that the objective function is MAXIMIZED. So you have to pay
# attention to sign of yopt.
#
# Below is an example where data value of line 14 & column 2
# in "power_efficiency1.dat" is obtained and yopt is simply set as 
# itself.
#

set effi [ GetOutputData "power_efficiency1.dat" 14 2 ]
set yopt $effi

