📄 cantbeam.desc
字号:
MDOLVersion: 6.0
CompilerOptions: warn
Task cantbeam
TaskHeader cantbeam
Description: "cantbeam example"
Version: 1.1
Evaluation: optimize cantbeamPlan
ControlMode: user
RunCounter: 1
BoundsPolicy: adjustvalue
CheckPoint: unknown
End TaskHeader cantbeam
Inputs cantbeam
Parameter: H1 Type: real InitialValue: 40.0
Parameter: H2 Type: real InitialValue: 40.0
Parameter: H3 Type: real InitialValue: 40.0
Parameter: H4 Type: real InitialValue: 40.0
Parameter: H5 Type: real InitialValue: 40.0
Parameter: W1 Type: real InitialValue: 5.0
Parameter: W2 Type: real InitialValue: 5.0
Parameter: W3 Type: real InitialValue: 5.0
Parameter: W4 Type: real InitialValue: 5.0
Parameter: W5 Type: real InitialValue: 5.0
End Inputs cantbeam
Outputs cantbeam
Parameter: G1 Type: real
Parameter: G2 Type: real
Parameter: G3 Type: real
Parameter: G4 Type: real
Parameter: G5 Type: real
Parameter: G6 Type: real
Parameter: G7 Type: real
Parameter: G8 Type: real
Parameter: G9 Type: real
Parameter: G10 Type: real
Parameter: G11 Type: real
Parameter: VOL Type: real
Parameter: G12 Type: real
Parameter: G13 Type: real
Parameter: G14 Type: real
Parameter: G15 Type: real
Parameter: G16 Type: real
Parameter: G17 Type: real
Parameter: G18 Type: real
Parameter: G19 Type: real
Parameter: G20 Type: real
Parameter: G21 Type: real
End Outputs cantbeam
Groups cantbeam
Group HEIGHT
H1 H2 H3 H4 H5
End Group HEIGHT
Group WIDTH
W1 W2 W3 W4 W5
End Group WIDTH
End Groups cantbeam
Initialization cantbeam
Tcl
api_SetPenaltyMultiplier cantbeam 1000000.0
api_SetDeltaForInEqualityConstraintViolation cantbeam .004
End Tcl
End Initialization cantbeam
SimCode cantbeamCode
InputFiles cantbeamCode
FileDescription cantbeamCodeIn
FileType: standard
TemplateFile: "BeamInTemp.dat"
InputFile: "BeamIn.txt"
Parameters
H1 H2 H3 H4 H5 W1 W2 W3 W4 W5
Instructions
moveto line +1
find "h1"
moveto column + 2
write $H1
find "h2"
moveto column + 2
write $H2
find "h3"
moveto column + 2
write $H3
find "h4"
moveto column + 2
write $H4
find "h5"
moveto column + 2
write $H5
find "b1"
moveto column + 2
write $W1
find "b2"
moveto column + 2
write $W2
find "b3"
moveto column + 2
write $W3
find "b4"
moveto column + 2
write $W4
find "b5"
moveto column + 2
write $W5
return 0
End Instructions
End FileDescription cantbeamCodeIn
End InputFiles cantbeamCode
OutputFiles cantbeamCode
FileDescription cantbeamCodeOut
FileType: standard
OutputFile: "BeamOut.txt"
Parameters
G1 G2 G3 G4 G5 G6 G7 G8 G9 G10
G11 VOL G12 G13 G14 G15 G16 G17 G18 G19
G20 G21
Instructions
read VOL
provide $VOL
read G1
provide $G1
read G2
provide $G2
read G3
provide $G3
read G4
provide $G4
read G5
provide $G5
read G6
provide $G6
read G7
provide $G7
read G8
provide $G8
read G9
provide $G9
read G10
provide $G10
read G11
provide $G11
read G12
provide $G12
read G13
provide $G13
read G14
provide $G14
read G15
provide $G15
read G16
provide $G16
read G17
provide $G17
read G18
provide $G18
read G19
provide $G19
read G20
provide $G20
read G21
provide $G21
End Instructions
End FileDescription cantbeamCodeOut
End OutputFiles cantbeamCode
SimCodeProcess cantbeamCode
Program: "../Programs/cantbeam.exe"
ElapseTime: 5m
Prologue
WriteInputSpecs: cantbeamCodeIn
Epilogue
ReadOutputSpecs: cantbeamCodeOut
Execution: "$Program"
End SimCodeProcess cantbeamCode
End SimCode cantbeamCode
TaskProcess cantbeam
Control: [
cantbeamCode
]
End TaskProcess cantbeam
Optimization cantbeam
PotentialVariables:
H1 H2 H3 H4 H5 W1 W2 W3 W4 W5
Variables:
H1 H2 H3 H4 H5 W1 W2 W3 W4 W5
VariableScaling
Parameter: H1 ScaleFactor: 1.0
Parameter: H2 ScaleFactor: 1.0
Parameter: H3 ScaleFactor: 1.0
Parameter: H4 ScaleFactor: 1.0
Parameter: H5 ScaleFactor: 1.0
Parameter: W1 ScaleFactor: 1.0
Parameter: W2 ScaleFactor: 1.0
Parameter: W3 ScaleFactor: 1.0
Parameter: W4 ScaleFactor: 1.0
Parameter: W5 ScaleFactor: 1.0
InputConstraints
Parameter: H1 LowerBound: 0.1 UpperBound: 100.0
Parameter: H2 LowerBound: 0.1 UpperBound: 100.0
Parameter: H3 LowerBound: 0.1 UpperBound: 100.0
Parameter: H4 LowerBound: 0.1 UpperBound: 100.0
Parameter: H5 LowerBound: 0.1 UpperBound: 100.0
Parameter: W1 LowerBound: 0.1 UpperBound: 10.0
Parameter: W2 LowerBound: 0.1 UpperBound: 10.0
Parameter: W3 LowerBound: 0.1 UpperBound: 10.0
Parameter: W4 LowerBound: 0.1 UpperBound: 10.0
Parameter: W5 LowerBound: 0.1 UpperBound: 10.0
PotentialObjectives:
G1 G2 G3 G4 G5 G6 G7 G8 G9 G10
G11 VOL G12 G13 G14 G15 G16 G17 G18 G19
G20 G21
Objectives
Parameter: VOL Direction: minimize Weight: 1.0 ScaleFactor: 1.0
OutputConstraints
Parameter: G1 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G2 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G3 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G4 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G5 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G6 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G7 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G8 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G9 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G10 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G11 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G12 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G13 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G14 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G15 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G16 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G17 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G18 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G19 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G20 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
Parameter: G21 UpperBound: 0.0 Weight: 1.0 ScaleFactor: 1.0
OptimizePlan cantbeamPlan
DefaultUpperBound: 1E15
UseScaling: yes
OptimizeStep mmfd
Technique: "Modified Method of Feasible Directions"
Prologue
RestoreBestSolution: no
RerunTask: no
Epilogue
Tcl
####-Restore Best State Begin-
# Start of AutoGenerated CODE - DO NOT MODIFY**
# End of AutoGenerated Code - DO NOT MODIFY**
####-Restore Best State End-
####-Run Task Begin-
# Start of AutoGenerated CODE - DO NOT MODIFY**
RunTask
# End of AutoGenerated Code - DO NOT MODIFY**
####-Run Task End-End Tcl
End Tcl
RestoreBestSolution: yes
RerunTask: no
Options
MoveLimitReductionFactor: 0.4
MoveLimitExpansionFactor: 1.9
TrustRegionRatioLowerLimit: 0.001
Control: [
mmfd
]
End Optimization cantbeam
TaskPlan cantbeam
Control: [
cantbeamPlan
]
End TaskPlan cantbeam
DataStorage cantbeam
Restore: no
DataLog: "cantbeam.db" Mode: overwrite
DataLookUp: "cantbeam.db"
MatchMode: Exact
Levels: all
StoreGradRuns: yes
StoreApproxRuns: yes
End DataStorage cantbeam
End Task cantbeam
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -