Commit a2639489 by Dirreke

doc: 完善文档和例程

parent 9cf68ff4
# SOLVER-EMBEDDED Model Examples
This repository provides small model/example suites for an external solver, organized by model type:
- [leq/](leq/): linear equation systems (Ax = b) examples
- [neq/](neq/): nonlinear equation systems f(x)=0 examples
- [nlp/](nlp/): nonlinear programming (NLP) examples (includes AC-OPF benchmarks)
- [milp/](milp/): mixed-integer linear programming (MILP) examples
Each folder contains paired `*.model` / `*.solution` files:
- `*.model` is the input model text consumed by the solver
- `*.solution` is the reference (ground-truth) result for validation
All other top-level folders are currently **work in progress (WIP)**.
## Other directories (WIP)
The following top-level directories are under active development and are not part of the stable example suites yet:
- [data/](data/)
- [index/](index/)
- [rsdss/](rsdss/)
- [rspower/](rspower/)
- [rustscript/](rustscript/)
- [target/](target/)
## CLI usage (model selection)
The solver CLI supports selecting **at most one** model input at a time:
- `./solver_embedded --nlp <FILE or String>`
- `./solver_embedded --milp <FILE or String>`
- `./solver_embedded --leq <FILE or String>`
- `./solver_embedded --neq <FILE or String>`
Inputs can be provided either as:
- a file path, or
- an inline string
### Splitting rules (common)
- If the input contains `;` -> split by `;`
- Otherwise -> split by lines
## Model formats (summary)
### NLP (`--nlp`)
- Overall:
- `<Objective>;`
- `<Constraint1>;`
- `...`
- `<VariableBounds>;` (**must be last**)
- Constraints use range form: `<expr>:[lower/upper]`
- Variables use bounds/initial value: `xi:[lower/upper/init]`
### MILP (`--milp`)
- Overall:
- `<Objective>;`
- `<Constraint1>;`
- `...`
- `<VariableTypes>;` (**must be last**)
- Constraints use boolean comparisons: `<=`, `>=`, `==`
- Variable types (last line): `x1:1, x2:2, ...`
- `1` binary, `2` integer, `3` real/continuous
### LEQ (`--leq`)
- Overall:
- `<Eq1>;`
- `<Eq2>;`
- `...`
- `<Variables>;` (**must be last**)
- Each equation is interpreted as `<expr> = 0`
- Variables (last line): `x1, x2, x3, ...`
### NEQ (`--neq`)
- Same overall format as `--leq`, but nonlinear:
- equations are interpreted as `<expr> = 0`
- variables are listed on the last line
## Where to start
- LEQ toy examples: [leq/examples/basic/](leq/examples/basic/)
- NEQ toy examples: [neq/examples/basic/](neq/examples/basic/)
- NLP toy examples: [nlp/examples/basic/](nlp/examples/basic/)
- MILP toy examples: [milp/examples/basic/](milp/examples/basic/)
# LEQ Examples (Linear Equations)
This folder contains **linear-equation (LEQ)** toy benchmarks.
The purpose is to provide very small, solver-friendly instances so an external program can quickly validate:
- parsing of `*.model`
- solving a linear system
- matching the reference `*.solution`
## What the examples mean
Each example is a reproducible linear-equations benchmark:
- **Input**: a `*.model` file describing a system of equations (typically linear)
- **Reference output**: a matching `*.solution` file containing a known-correct solution vector
## `.model` format
A `*.model` file is plain text:
- one equation per line, terminated by `;`
- the last line is the **variable list** (comma-separated)
- optional initial guesses can be provided using `name:value` (e.g., `x:0`)
The variable list order defines the order of values in the `.solution` file.
## `.solution` format
A `*.solution` file contains one numeric value per line, ordered exactly as the variable list in the corresponding `.model`.
## Directory layout
- [leq/examples/basic/](leq/examples/basic/): simple LEQ toy problems
## How to use this
Run your solver in “nonlinear equations” mode and pass the model file, for example:
- `solver_embedded --neq path/to/case5_pf_polar.model`
Then compare your solver’s solution vector against `case5_pf_polar.solution`.
> Note: the exact CLI flag name depends on your solver/application (this repo only defines the `*.model/*.solution` formats and the examples).
x+y+z-6;
2*x-y+z-3;
-x+2*y+3*z-14;
x:0,y:0,z:0
Variable values:
x: 0.5555555555555555
y: 1.7777777777777777
z: 3.6666666666666665
# MILP Examples (Mixed-Integer Linear Programming)
This folder contains **MILP** benchmark instances.
The main purpose is to provide small, solver-friendly examples so an external program can validate its MILP pipeline:
- `*.model`: the MILP instance (objective + constraints + variable type declarations)
- `*.solution`: the **reference (ground-truth) solution** for that model
These examples are intended for automated regression checks and solver benchmarking. Detailed format/CLI usage is documented elsewhere.
## Directory layout
- [milp/examples/basic/](milp/examples/basic/): small MILP toy problems
## `.solution` format (reference solution)
A `*.solution` file contains one numeric value per line.
- The values are ordered **exactly as the variable list on the last line of the corresponding `.model` file**.
## How to use this
Run your solver in “nonlinear equations” mode and pass the model file, for example:
- `solver_embedded --neq path/to/case5_pf_polar.model`
Then compare your solver’s solution vector against `case5_pf_polar.solution`.
> Note: the exact CLI flag name depends on your solver/application (this repo only defines the `*.model/*.solution` formats and the examples).
1*x11 + 3*x12 + 2*x21 + 1*x22;
x11 + x12 == 1;
x21 + x22 == 1;
x11 + x21 == 1;
x12 + x22 == 1;
x11:1, x12:1, x21:1, x22:1;
Reading model from file: milp/examples/basic/assignment_2x2.model
Constructing model...
Model constructed. Solving...
Solution found.
Objective value: 2
Iteration count: 0
Variable values:
x11: 1
x12: 0
x21: 0
x22: 1
max(3*x1 + 2*x2 + 4*x3);
2*x1 + 1*x2 + 3*x3 <= 4;
x1:1, x2:1, x3:1;
Reading model from file: milp/examples/basic/knapsack_3.model
Constructing model...
Model constructed. Solving...
Solution found.
Objective value: 6
Iteration count: 0
Variable values:
x1: 0
x2: 1
x3: 1
min(x + 2*y + 0.5*z);
x + y >= 3;
x - z == 1;
y <= 4;
x >= 0;
y >= 0;
z >= 0;
x:2, y:2, z:3;
Reading model from file: milp/examples/basic/mixed_types_small.model
Constructing model...
Model constructed. Solving...
Solution found.
Objective value: 4
Iteration count: 0
Variable values:
x: 3
y: -0
z: 2
# NEQ Examples (AC Power Flow as Nonlinear Equations)
This folder contains **nonlinear-equation (NEQ)** benchmark instances for **AC power flow (PF)**.
The underlying test cases are based on **IEEE/MATPOWER** networks. The repository ships ready-to-use examples; you typically only need to point your external solver at a `*.model` file and validate against the matching `*.solution`.
## What the examples mean (main point)
Each example is a reproducible PF-NEQ benchmark:
- **Input**: a `*.model` file describing a system of nonlinear equations $F(x)=0$
- **Reference output**: a matching `*.solution` file containing a known-correct solution vector for that model
Your external solver reads the `.model`, solves the nonlinear system, then compares its solution against the `.solution`.
## Directory layout
- [neq/examples/](neq/examples/)
- `pf_polar/`: power-flow equations in **polar** voltage coordinates
- `basic/`: small, solver-friendly NEQ toy problems (no power-system context)
## Naming convention
- Polar PF
- `pf_polar/<case>_pf_polar.model`
- `pf_polar/<case>_pf_polar.solution`
- Basic NEQ
- `basic/<name>.model`
- `basic/<name>.solution`
## `.model` format (NEQ model)
A `*.model` file is plain text and typically contains:
- A list of equations, one per line, each terminated by `;`
- A final **variable list line**, where variables are comma-separated
### Variable list and initial guesses
The final line lists the variables (and optional initial guesses) in the exact order used by the solution vector.
- Variables may optionally carry an initial guess using `name:value` (e.g., `V1:1`)
- Variables without `:value` have no explicit initial guess in the file
Example pattern:
- `V1:1,V2:1,...,THETA1,THETA2,...,QG1,QG2,...,PG_balancenode`
## `.solution` format (reference solution)
A `*.solution` file contains one numeric value per line.
- The values are ordered **exactly as the variable list on the last line of the corresponding `.model` file**.
## How to use this
Run your solver in “nonlinear equations” mode and pass the model file, for example:
- `solver_embedded --neq path/to/case5_pf_polar.model`
Then compare your solver’s solution vector against `case5_pf_polar.solution`.
> Note: the exact CLI flag name depends on your solver/application (this repo only defines the `*.model/*.solution` formats and the examples).
Variable values:
x: 0.7071067811865476
y: 0.7071067811865476
x^2-2;
x:1.414
\ No newline at end of file
Variable values:
x: 1.4142135623730951
Variable values:
x: 0.5235987755982988
2.10000000-0.00000000-V1*(V1*(22.25068569)+V2*(-3.52348402*cos(THETA1-THETA2)+35.23484021*sin(THETA1-THETA2))+V4*(-3.25690464*cos(THETA1-THETA4)+32.56904638*sin(THETA1-THETA4))+V5*(-15.47029703*cos(THETA1-THETA5)+154.70297030*sin(THETA1-THETA5)));
0.00000000-3.00000000-V2*(V1*(-3.52348402*cos(THETA2-THETA1)+35.23484021*sin(THETA2-THETA1))+V2*(12.69106745)+V3*(-9.16758343*cos(THETA2-THETA3)+91.67583425*sin(THETA2-THETA3)));
3.23490000-3.00000000-V3*(V2*(-9.16758343*cos(THETA3-THETA2)+91.67583425*sin(THETA3-THETA2))+V3*(12.50125013)+V4*(-3.33366670*cos(THETA3-THETA4)+33.33666700*sin(THETA3-THETA4)));
PG_balancenode-4.00000000-V4*(V1*(-3.25690464*cos(THETA4-THETA1)+32.56904638*sin(THETA4-THETA1))+V3*(-3.33366670*cos(THETA4-THETA3)+33.33666700*sin(THETA4-THETA3))+V4*(9.92423804)+V5*(-3.33366670*cos(THETA4-THETA5)+33.33666700*sin(THETA4-THETA5)));
4.66510000-0.00000000-V5*(V1*(-15.47029703*cos(THETA5-THETA1)+154.70297030*sin(THETA5-THETA1))+V4*(-3.33366670*cos(THETA5-THETA4)+33.33666700*sin(THETA5-THETA4))+V5*(18.80396373));
QG1+QG2-0.00000000-V1*(V1*(--222.48437689)+V2*(-3.52348402*sin(THETA1-THETA2)-35.23484021*cos(THETA1-THETA2))+V4*(-3.25690464*sin(THETA1-THETA4)-32.56904638*cos(THETA1-THETA4))+V5*(-15.47029703*sin(THETA1-THETA5)-154.70297030*cos(THETA1-THETA5)));
-0.98610000-V2*(V1*(-3.52348402*sin(THETA2-THETA1)-35.23484021*cos(THETA2-THETA1))+V2*(--126.89785446)+V3*(-9.16758343*sin(THETA2-THETA3)-91.67583425*cos(THETA2-THETA3)));
QG3-0.98610000-V3*(V2*(-9.16758343*sin(THETA3-THETA2)-91.67583425*cos(THETA3-THETA2))+V3*(--124.99987125)+V4*(-3.33366670*sin(THETA3-THETA4)-33.33666700*cos(THETA3-THETA4)));
QG4-1.31470000-V4*(V1*(-3.25690464*sin(THETA4-THETA1)-32.56904638*cos(THETA4-THETA1))+V3*(-3.33366670*sin(THETA4-THETA3)-33.33666700*cos(THETA4-THETA3))+V4*(--99.23235038)+V5*(-3.33366670*sin(THETA4-THETA5)-33.33666700*cos(THETA4-THETA5)));
QG5-0.00000000-V5*(V1*(-15.47029703*sin(THETA5-THETA1)-154.70297030*cos(THETA5-THETA1))+V4*(-3.33366670*sin(THETA5-THETA4)-33.33666700*cos(THETA5-THETA4))+V5*(--188.02063730));
V1-1.00000000;
V3-1.00000000;
V4-1.00000000;
V5-1.00000000;
THETA4;
QG2-4.25*QG1;
V1:1,V2:1,V3:1,V4:1,V5:1,THETA1,THETA2,THETA3,THETA4,THETA5,QG1,QG2,QG3,QG4,QG5,PG_balancenode
\ No newline at end of file
Variable values:
V1: 1
V2: 0.9892612371183941
V3: 1
V4: 1
V5: 1
THETA1: 0.05713092450763908
THETA2: -0.013251748935894637
THETA3: -0.008591534693000804
THETA4: 0
THETA5: 0.07176847990433495
QG1: 0.058524114048747106
QG2: 0.2487274847071752
QG3: 1.9465472018681285
QG4: 1.841229301609696
QG5: -0.38209623444663354
PG_balancenode: 0.05027180043443861
# NLP Examples (AC Optimal Power Flow)
This folder provides **AC Optimal Power Flow (AC-OPF)** benchmark instances written as **Nonlinear Programming (NLP)** models in two coordinate systems:
- **Polar**: voltage state variables are $V$ and $\theta$.
- **Rectangular**: voltage state variables are $e$ and $f$ (i.e., $V\cos\theta$ and $V\sin\theta$).
The underlying cases come from **IEEE test systems / MATPOWER**. This repo already ships ready-to-use `*.model/*.solution` examples. **MATLAB** (with MATPOWER; IPOPT used by MATPOWER OPF) is only needed if you want to regenerate or add new examples.
The purpose of these examples is:
- `*.model`: input for an **external solver** (e.g., via a `--nlp` flag)
- `*.solution`: the **reference (ground-truth) solution** for that model, used to validate your solver
## What the examples mean (main point)
Each example is a reproducible OPF-NLP benchmark:
- **Input**: a `*.model` file
- **Reference output**: a matching `*.solution` file
Your solver reads the `.model`, solves it, then you compare your solver’s objective/variables against the `.solution`.
## `.model` (model file) and variable definitions
`*.model` is a plain-text NLP description:
1. **Line 1**: objective function (typically a polynomial cost in generator active powers `PGk`)
2. **Last line**: variable definitions with bounds and an initial value, written like: `PG1:[lb/ub/x0]`
Variables:
- Polar: `PGk, QGk, Vi, THETAi`
- `Vi`: bus voltage magnitude
- `THETAi`: bus voltage angle (radians)
- Rectangular: `PGk, QGk, ei, fi`
- `ei = Vi*cos(THETAi)`
- `fi = Vi*sin(THETAi)`
## `.solution` (reference solution)
`*.solution` is the reference answer for the corresponding `.model`:
1. Line 1: optimal objective value
2. Remaining lines: optimal variable values, written one value per line, in a fixed order (consistent with the generator that produced the files)
## Directory layout
- [nlp/examples/](nlp/examples/)
- `opf_polar/`: paired polar OPF `*.model/*.solution`
- `opf_rectangular/`: paired rectangular OPF `*.model/*.solution`
- `basic/`: small, solver-friendly NLP toy problems (no power-system context)
## Naming convention
- Polar
- `opf_polar/<case>_opf_polar.model`
- `opf_polar/<case>_opf_polar.solution`
- Rectangular
- `opf_rectangular/<case>_opf_rectangular.model`
- `opf_rectangular/<case>_opf_rectangular.solution`
- Basic NLP
- `basic/<name>.model`
- `basic/<name>.solution`
## How to use this
Run your solver in “nonlinear equations” mode and pass the model file, for example:
- `solver_embedded --neq path/to/case5_pf_polar.model`
Then compare your solver’s solution vector against `case5_pf_polar.solution`.
> Note: the exact CLI flag name depends on your solver/application (this repo only defines the `*.model/*.solution` formats and the examples).
Objective value: 0.9999999800113316
Variable values:
x: 0.9999999900056658
Objective value: -0.00000001998010154167314
Variable values:
x: -0.000000009990041325677582
y: -0.000000009990060215995557
x^2+y^2
x+y-1:[0/0]
x:[-10/10/0],y:[-10/10/0]
Objective value: 0.5
Variable values:
x: 0.5
y: 0.5
(x-1)^2+(y+2)^2
x:[-10/10/0],y:[-10/10/0]
Objective value: 0.00000000000000000000000031936310214511156
Variable values:
x: 0.9999999999997539
y: -1.9999999999994913
Objective value: 129660.69426983486
Variable values:
PG1: 0.26489092101208167
PG2: -0.000000009993851758870091
PG3: -0.000000009664912395900949
PG4: -0.00000000999467101247084
PG5: 4.018745328555425
PG6: 0.8579383495057311
PG7: 0.20883885112454445
PG8: 0.13226152573086974
PG9: 0.2158327352125426
PG10: -0.000000009994178676997486
PG11: 1.9381383584149545
PG12: 2.797622095372388
PG13: 0.09922486524043164
PG14: 0.0724827053269045
PG15: 0.14862584892892652
PG16: 0.048878115834592756
PG17: 0.10662711228202874
PG18: 0.4932182860801038
PG19: 0.4099496408174295
PG20: 0.19038967367981582
PG21: 1.9333231299535356
PG22: 0.49542311416148666
PG23: 0.32134223196088957
PG24: 0.32560171918065517
PG25: 1.497048081053866
PG26: 1.4841482180806427
PG27: -0.000000009996732782577231
PG28: 3.522362479932359
PG29: 3.48858350175698
PG30: 4.536660589674946
PG31: -0.000000009984991977585135
PG32: -0.000000009984028730641742
PG33: -0.00000000997944924410842
PG34: 0.16931259991382816
PG35: 0.22853031987666378
PG36: -0.000000009996121509350542
PG37: 4.308410861586784
PG38: -0.00000000999815833741593
PG39: 0.03626209754123644
PG40: 5.018441430759849
PG41: -0.000000009997607223820696
PG42: -0.000000009997813751427511
PG43: -0.000000009998285413996858
PG44: -0.000000009996964564425598
PG45: 2.312945041057966
PG46: 0.3824623084720315
PG47: -0.000000009964471842154236
PG48: 0.05163093439541828
PG49: 0.2902752462615965
PG50: 0.07034102631155857
PG51: 0.3524183966197221
PG52: 0.36482232403348375
PG53: -0.00000000998093237045325
PG54: -0.000000009997959610099635
QG1: 0.1500000099854358
QG2: 0.7151774496805137
QG3: 0.3328592064878397
QG4: -0.7863246462127866
QG5: -0.9967651318891715
QG6: 0.5443951671849059
QG7: 0.23840554739787054
QG8: 0.30453570313478506
QG9: 0.23999999027885724
QG10: -0.07305198077112256
QG11: -0.47000000996901836
QG12: -0.27577294321949514
QG13: 0.25533859811649967
QG14: 0.27186813082304817
QG15: 0.21829637733324478
QG16: -0.08000000751722203
QG17: 0.19821470632390675
QG18: 0.28759610341044756
QG19: 0.22097687257787504
QG20: -0.04143938763910663
QG21: 0.19679968920102672
QG22: 0.3479298017494827
QG23: 0.19974959056023925
QG24: 0.14999944770215162
QG25: 0.9566877691459345
QG26: 0.31962907935214796
QG27: 0.008845268620298054
QG28: -0.6700000092918468
QG29: -0.6700000099809423
QG30: -1.1109657087425082
QG31: 0.2887774465535686
QG32: -0.052012563436543514
QG33: -0.022198562135312534
QG34: 0.0900000099821025
QG35: 0.2300000099907799
QG36: 0.7000000097166608
QG37: -0.09433258482195128
QG38: 0.23000000996044162
QG39: 0.0354155255951089
QG40: -0.24016157428962587
QG41: 0.4721468494264925
QG42: 0.015562923847368683
QG43: 0.09000000996243976
QG44: -0.03173914902883613
QG45: 0.45758109765429217
QG46: 0.11701850002775484
QG47: 0.22999729416265752
QG48: 0.09212092824564275
QG49: 0.03257364785794285
QG50: 0.19675396248147267
QG51: -0.002482234924883565
QG52: 0.1027985523868528
QG53: -0.10232893866147193
QG54: 0.06415946506832229
V1: 1.033169722069846
V2: 1.0387968132002214
V3: 1.0380037822109343
V4: 1.060000010592596
V5: 1.0574525176585308
V6: 1.052694369028357
V7: 1.051017313204849
V8: 1.040988229894542
V9: 1.060000010599361
V10: 1.0529795595926108
V11: 1.046005566253295
V12: 1.0499550517842382
V13: 1.0344770364992384
V14: 1.0488068504239048
V15: 1.0485626161968102
V16: 1.0461369735949668
V17: 1.0600000105905163
V18: 1.050323858003731
V19: 1.047786884785623
V20: 1.036185390081949
V21: 1.0313270784448427
V22: 1.0345717451552605
V23: 1.0487436142355784
V24: 1.0462081881281815
V25: 1.060000010599637
V26: 1.0267818598926335
V27: 1.0413721354686425
V28: 1.0348812077382528
V29: 1.035431521806908
V30: 1.0311990277520577
V31: 1.0385626254969436
V32: 1.0410403558723802
V33: 1.0461533365849596
V34: 1.0559212182543336
V35: 1.0539852477132325
V36: 1.0542609746988716
V37: 1.0600000105945997
V38: 1.0150293611328387
V39: 1.0424525530702975
V40: 1.0424887330589474
V41: 1.0354647952014888
V42: 1.0406221398332964
V43: 1.039968630997572
V44: 1.0309005550892323
V45: 1.025264909994196
V46: 1.0377211138784017
V47: 1.0450156286415786
V48: 1.0473020852960437
V49: 1.0495620477958612
V50: 1.0392119277100953
V51: 1.0222158225810534
V52: 1.0166493580804121
V53: 1.016298429765725
V54: 1.0312457937546262
V55: 1.0311699679490882
V56: 1.0308952566301712
V57: 1.031750938419405
V58: 1.0238559433891867
V59: 1.0467819076071339
V60: 1.045740703201854
V61: 1.0481190900496795
V62: 1.043841091821965
V63: 1.0156705448490433
V64: 1.022709484734902
V65: 1.015561884330541
V66: 1.0600000105997298
V67: 1.0465561538387853
V68: 1.014644419670133
V69: 1.0600000105995049
V70: 1.0392652194440084
V71: 1.0394586072115743
V72: 1.0397961851927462
V73: 1.0382621325848727
V74: 1.0219247980514303
V75: 1.0241578581609563
V76: 1.0118090451062915
V77: 1.0470589987554506
V78: 1.0423798602452807
V79: 1.043690184348989
V80: 1.0600000105983918
V81: 1.0107505677838249
V82: 1.0377017760249103
V83: 1.0400159621510283
V84: 1.0427402800449206
V85: 1.0505036088092625
V86: 1.0443221252077894
V87: 1.0571042906800607
V88: 1.0481492199242357
V89: 1.060000010599663
V90: 1.0417816953565069
V91: 1.04564960814981
V92: 1.0500035792941291
V93: 1.0400090027732694
V94: 1.0378903347094135
V95: 1.0267611682293523
V96: 1.0354646345240988
V97: 1.0431441865637903
V98: 1.0519319632741706
V99: 1.0540450072028418
V100: 1.0584505082703568
V101: 1.0427932611001551
V102: 1.0468424284394073
V103: 1.051400383690924
V104: 1.042639153098169
V105: 1.0403414680428658
V106: 1.0342727487479295
V107: 1.0341603607533643
V108: 1.0393143056114877
V109: 1.0390039095413048
V110: 1.0414258703027304
V111: 1.0491249679151582
V112: 1.0340802737570154
V113: 1.0553786397033826
V114: 1.0366516650698443
V115: 1.0362836917694962
V116: 1.0145939273592337
V117: 1.0350708800415926
V118: 1.0123464478908513
THETA1: 0.29835425029672835
THETA2: 0.30005147731582726
THETA3: 0.30611500424693183
THETA4: 0.35138836944032203
THETA5: 0.3591130697892239
THETA6: 0.319144914199692
THETA7: 0.3139485179336461
THETA8: 0.4311365166023729
THETA9: 0.5401561593855214
THETA10: 0.6570868666914855
THETA11: 0.3168149371318622
THETA12: 0.31121370991521496
THETA13: 0.29727090589858507
THETA14: 0.3014276323272778
THETA15: 0.3007131122975239
THETA16: 0.30616911376758493
THETA17: 0.333404541641214
THETA18: 0.30590512073961634
THETA19: 0.2994474739551678
THETA20: 0.30490403966099167
THETA21: 0.3231882747970123
THETA22: 0.35575651744870845
THETA23: 0.4224681117886025
THETA24: 0.4133868628844357
THETA25: 0.5330757316751464
THETA26: 0.5613667109769339
THETA27: 0.3463424016507206
THETA28: 0.3220729496513975
THETA29: 0.30911919393033127
THETA30: 0.4010603070954195
THETA31: 0.3116514946209294
THETA32: 0.3390390143873468
THETA33: 0.2917531998178032
THETA34: 0.30211004321114115
THETA35: 0.29625853022409504
THETA36: 0.296467001351172
THETA37: 0.3091310565941443
THETA38: 0.3714292127747806
THETA39: 0.2797541431452276
THETA40: 0.27627278651497345
THETA41: 0.2687480294500263
THETA42: 0.291423628930269
THETA43: 0.28957864113359244
THETA44: 0.31126618623739705
THETA45: 0.3344804578803218
THETA46: 0.37501495669646073
THETA47: 0.4070767305650356
THETA48: 0.39965157289609027
THETA49: 0.4167556228388298
THETA50: 0.38525578423002144
THETA51: 0.34578254251155205
THETA52: 0.3312348161044082
THETA53: 0.31810010984616394
THETA54: 0.3334463041276871
THETA55: 0.33237710735533904
THETA56: 0.33336051326315097
THETA57: 0.34887951275352014
THETA58: 0.3358588909685239
THETA59: 0.37881541780274525
THETA60: 0.4294492502199708
THETA61: 0.4427168224613562
THETA62: 0.4338511689010804
THETA63: 0.42516681360593955
THETA64: 0.45039087479922163
THETA65: 0.49932709749570947
THETA66: 0.5038755118399207
THETA67: 0.458208451025223
THETA68: 0.4887452059183194
THETA69: 0.52359878
THETA70: 0.41354120172621595
THETA71: 0.40971778633315736
THETA72: 0.4011308091070027
THETA73: 0.40732094086291115
THETA74: 0.3998133835265124
THETA75: 0.414976691585791
THETA76: 0.39974577718983534
THETA77: 0.4558990555294712
THETA78: 0.4511129084442927
THETA79: 0.45590405014634255
THETA80: 0.49307823673271595
THETA81: 0.49060036997524253
THETA82: 0.44459705016826956
THETA83: 0.45236360443352386
THETA84: 0.47424506413579076
THETA85: 0.48983631137678596
THETA86: 0.4703841997911909
THETA87: 0.47565260015284194
THETA88: 0.5265177514372392
THETA89: 0.5817427604851412
THETA90: 0.4872636695006968
THETA91: 0.492465741493699
THETA92: 0.5134952019222329
THETA93: 0.48424577474246877
THETA94: 0.4658501939287875
THETA95: 0.4528438014528895
THETA96: 0.453320367881844
THETA97: 0.4671720579104756
THETA98: 0.4657773967471702
THETA99: 0.45718776754532664
THETA100: 0.4737822945732409
THETA101: 0.47693601938559366
THETA102: 0.4997232835770256
THETA103: 0.43818908068995094
THETA104: 0.40070637599421016
THETA105: 0.3914793132557081
THETA106: 0.387065996626997
THETA107: 0.37071694674966515
THETA108: 0.3862762400809725
THETA109: 0.3847171770670297
THETA110: 0.38584890009352885
THETA111: 0.41003247053924446
THETA112: 0.36698072075581745
THETA113: 0.3332052495196694
THETA114: 0.3336430965351864
THETA115: 0.3334543726419478
THETA116: 0.4814572703142091
THETA117: 0.2872884699170773
THETA118: 0.40072554642115
This source diff could not be displayed because it is too large. You can view the blob instead.
thread 'main' (1267568) panicked at /home/dirreck/Desktop/eig-rc/rust-autograd/src/graph.rs:41:13:
Maximum graph size exceeded: 10000000. Use Graph::clear, or stop using loops in the VariableEnvironment::run block
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
430.29259900*PG1^2+2000.00000000*PG1+2500.00000000*PG2^2+2000.00000000*PG2+100.00000000*PG3^2+4000.00000000*PG3+100.00000000*PG4^2+4000.00000000*PG4+100.00000000*PG5^2+4000.00000000*PG5
PG1-0.00000000-V1*(V1*(6.02502906)+V2*(-4.99913160*cos(THETA1-THETA2)+15.26308652*sin(THETA1-THETA2))+V5*(-1.02589745*cos(THETA1-THETA5)+4.23498368*sin(THETA1-THETA5))):[0/0]
PG2-0.21700000-V2*(V1*(-4.99913160*cos(THETA2-THETA1)+15.26308652*sin(THETA2-THETA1))+V2*(9.52132361)+V3*(-1.13501919*cos(THETA2-THETA3)+4.78186315*sin(THETA2-THETA3))+V4*(-1.68603315*cos(THETA2-THETA4)+5.11583833*sin(THETA2-THETA4))+V5*(-1.70113967*cos(THETA2-THETA5)+5.19392740*sin(THETA2-THETA5))):[0/0]
PG3-0.94200000-V3*(V2*(-1.13501919*cos(THETA3-THETA2)+4.78186315*sin(THETA3-THETA2))+V3*(3.12099490)+V4*(-1.98597571*cos(THETA3-THETA4)+5.06881698*sin(THETA3-THETA4))):[0/0]
-0.47800000-V4*(V2*(-1.68603315*cos(THETA4-THETA2)+5.11583833*sin(THETA4-THETA2))+V3*(-1.98597571*cos(THETA4-THETA3)+5.06881698*sin(THETA4-THETA3))+V4*(10.51298952)+V5*(-6.84098066*cos(THETA4-THETA5)+21.57855398*sin(THETA4-THETA5))+V7*(0.00000000*cos(THETA4-THETA7)+4.88951266*sin(THETA4-THETA7))+V9*(0.00000000*cos(THETA4-THETA9)+1.85549956*sin(THETA4-THETA9))):[0/0]
-0.07600000-V5*(V1*(-1.02589745*cos(THETA5-THETA1)+4.23498368*sin(THETA5-THETA1))+V2*(-1.70113967*cos(THETA5-THETA2)+5.19392740*sin(THETA5-THETA2))+V4*(-6.84098066*cos(THETA5-THETA4)+21.57855398*sin(THETA5-THETA4))+V5*(9.56801778)+V6*(0.00000000*cos(THETA5-THETA6)+4.25744534*sin(THETA5-THETA6))):[0/0]
PG4-0.11200000-V6*(V5*(0.00000000*cos(THETA6-THETA5)+4.25744534*sin(THETA6-THETA5))+V6*(6.57992341)+V11*(-1.95502856*cos(THETA6-THETA11)+4.09407434*sin(THETA6-THETA11))+V12*(-1.52596744*cos(THETA6-THETA12)+3.17596397*sin(THETA6-THETA12))+V13*(-3.09892740*cos(THETA6-THETA13)+6.10275545*sin(THETA6-THETA13))):[0/0]
-0.00000000-V7*(V4*(0.00000000*cos(THETA7-THETA4)+4.88951266*sin(THETA7-THETA4))+V7*(0.00000000)+V8*(0.00000000*cos(THETA7-THETA8)+5.67697985*sin(THETA7-THETA8))+V9*(0.00000000*cos(THETA7-THETA9)+9.09008272*sin(THETA7-THETA9))):[0/0]
PG5-0.00000000-V8*(V7*(0.00000000*cos(THETA8-THETA7)+5.67697985*sin(THETA8-THETA7))+V8*(0.00000000)):[0/0]
-0.29500000-V9*(V4*(0.00000000*cos(THETA9-THETA4)+1.85549956*sin(THETA9-THETA4))+V7*(0.00000000*cos(THETA9-THETA7)+9.09008272*sin(THETA9-THETA7))+V9*(5.32605504)+V10*(-3.90204955*cos(THETA9-THETA10)+10.36539413*sin(THETA9-THETA10))+V14*(-1.42400549*cos(THETA9-THETA14)+3.02905046*sin(THETA9-THETA14))):[0/0]
-0.09000000-V10*(V9*(-3.90204955*cos(THETA10-THETA9)+10.36539413*sin(THETA10-THETA9))+V10*(5.78293431)+V11*(-1.88088475*cos(THETA10-THETA11)+4.40294375*sin(THETA10-THETA11))):[0/0]
-0.03500000-V11*(V6*(-1.95502856*cos(THETA11-THETA6)+4.09407434*sin(THETA11-THETA6))+V10*(-1.88088475*cos(THETA11-THETA10)+4.40294375*sin(THETA11-THETA10))+V11*(3.83591332)):[0/0]
-0.06100000-V12*(V6*(-1.52596744*cos(THETA12-THETA6)+3.17596397*sin(THETA12-THETA6))+V12*(4.01499203)+V13*(-2.48902459*cos(THETA12-THETA13)+2.25197463*sin(THETA12-THETA13))):[0/0]
-0.13500000-V13*(V6*(-3.09892740*cos(THETA13-THETA6)+6.10275545*sin(THETA13-THETA6))+V12*(-2.48902459*cos(THETA13-THETA12)+2.25197463*sin(THETA13-THETA12))+V13*(6.72494615)+V14*(-1.13699416*cos(THETA13-THETA14)+2.31496348*sin(THETA13-THETA14))):[0/0]
-0.14900000-V14*(V9*(-1.42400549*cos(THETA14-THETA9)+3.02905046*sin(THETA14-THETA9))+V13*(-1.13699416*cos(THETA14-THETA13)+2.31496348*sin(THETA14-THETA13))+V14*(2.56099964)):[0/0]
QG1-0.00000000-V1*(V1*(--19.44707021)+V2*(-4.99913160*sin(THETA1-THETA2)-15.26308652*cos(THETA1-THETA2))+V5*(-1.02589745*sin(THETA1-THETA5)-4.23498368*cos(THETA1-THETA5))):[0/0]
QG2-0.12700000-V2*(V1*(-4.99913160*sin(THETA2-THETA1)-15.26308652*cos(THETA2-THETA1))+V2*(--30.27211540)+V3*(-1.13501919*sin(THETA2-THETA3)-4.78186315*cos(THETA2-THETA3))+V4*(-1.68603315*sin(THETA2-THETA4)-5.11583833*cos(THETA2-THETA4))+V5*(-1.70113967*sin(THETA2-THETA5)-5.19392740*cos(THETA2-THETA5))):[0/0]
QG3-0.19000000-V3*(V2*(-1.13501919*sin(THETA3-THETA2)-4.78186315*cos(THETA3-THETA2))+V3*(--9.82238013)+V4*(-1.98597571*sin(THETA3-THETA4)-5.06881698*cos(THETA3-THETA4))):[0/0]
--0.03900000-V4*(V2*(-1.68603315*sin(THETA4-THETA2)-5.11583833*cos(THETA4-THETA2))+V3*(-1.98597571*sin(THETA4-THETA3)-5.06881698*cos(THETA4-THETA3))+V4*(--38.65417121)+V5*(-6.84098066*sin(THETA4-THETA5)-21.57855398*cos(THETA4-THETA5))+V7*(0.00000000*sin(THETA4-THETA7)-4.88951266*cos(THETA4-THETA7))+V9*(0.00000000*sin(THETA4-THETA9)-1.85549956*cos(THETA4-THETA9))):[0/0]
-0.01600000-V5*(V1*(-1.02589745*sin(THETA5-THETA1)-4.23498368*cos(THETA5-THETA1))+V2*(-1.70113967*sin(THETA5-THETA2)-5.19392740*cos(THETA5-THETA2))+V4*(-6.84098066*sin(THETA5-THETA4)-21.57855398*cos(THETA5-THETA4))+V5*(--35.53363946)+V6*(0.00000000*sin(THETA5-THETA6)-4.25744534*cos(THETA5-THETA6))):[0/0]
QG4-0.07500000-V6*(V5*(0.00000000*sin(THETA6-THETA5)-4.25744534*cos(THETA6-THETA5))+V6*(--17.34073281)+V11*(-1.95502856*sin(THETA6-THETA11)-4.09407434*cos(THETA6-THETA11))+V12*(-1.52596744*sin(THETA6-THETA12)-3.17596397*cos(THETA6-THETA12))+V13*(-3.09892740*sin(THETA6-THETA13)-6.10275545*cos(THETA6-THETA13))):[0/0]
-0.00000000-V7*(V4*(0.00000000*sin(THETA7-THETA4)-4.88951266*cos(THETA7-THETA4))+V7*(--19.54900595)+V8*(0.00000000*sin(THETA7-THETA8)-5.67697985*cos(THETA7-THETA8))+V9*(0.00000000*sin(THETA7-THETA9)-9.09008272*cos(THETA7-THETA9))):[0/0]
QG5-0.00000000-V8*(V7*(0.00000000*sin(THETA8-THETA7)-5.67697985*cos(THETA8-THETA7))+V8*(--5.67697985)):[0/0]
-0.16600000-V9*(V4*(0.00000000*sin(THETA9-THETA4)-1.85549956*cos(THETA9-THETA4))+V7*(0.00000000*sin(THETA9-THETA7)-9.09008272*cos(THETA9-THETA7))+V9*(--24.09250638)+V10*(-3.90204955*sin(THETA9-THETA10)-10.36539413*cos(THETA9-THETA10))+V14*(-1.42400549*sin(THETA9-THETA14)-3.02905046*cos(THETA9-THETA14))):[0/0]
-0.05800000-V10*(V9*(-3.90204955*sin(THETA10-THETA9)-10.36539413*cos(THETA10-THETA9))+V10*(--14.76833788)+V11*(-1.88088475*sin(THETA10-THETA11)-4.40294375*cos(THETA10-THETA11))):[0/0]
-0.01800000-V11*(V6*(-1.95502856*sin(THETA11-THETA6)-4.09407434*cos(THETA11-THETA6))+V10*(-1.88088475*sin(THETA11-THETA10)-4.40294375*cos(THETA11-THETA10))+V11*(--8.49701809)):[0/0]
-0.01600000-V12*(V6*(-1.52596744*sin(THETA12-THETA6)-3.17596397*cos(THETA12-THETA6))+V12*(--5.42793859)+V13*(-2.48902459*sin(THETA12-THETA13)-2.25197463*cos(THETA12-THETA13))):[0/0]
-0.05800000-V13*(V6*(-3.09892740*sin(THETA13-THETA6)-6.10275545*cos(THETA13-THETA6))+V12*(-2.48902459*sin(THETA13-THETA12)-2.25197463*cos(THETA13-THETA12))+V13*(--10.66969355)+V14*(-1.13699416*sin(THETA13-THETA14)-2.31496348*cos(THETA13-THETA14))):[0/0]
-0.05000000-V14*(V9*(-1.42400549*sin(THETA14-THETA9)-3.02905046*cos(THETA14-THETA9))+V13*(-1.13699416*sin(THETA14-THETA13)-2.31496348*cos(THETA14-THETA13))+V14*(--5.34401393)):[0/0]
PG1:[0.00000000/3.32400000/1.94330186],PG2:[0.00000000/1.40000000/0.36719165],PG3:[0.00000000/1.00000000/0.28742653],PG4:[0.00000000/1.00000000/0.00000251],PG5:[0.00000000/1.00000000/0.08494952],QG1:[0.00000000/0.10000000/0.00000684],QG2:[-0.40000000/0.50000000/0.23685082],QG3:[0.00000000/0.40000000/0.24126869],QG4:[-0.06000000/0.24000000/0.11545545],QG5:[-0.06000000/0.24000000/0.08272995],V1:[0.94000000/1.06000000/1.05999989],V2:[0.94000000/1.06000000/1.04075285],V3:[0.94000000/1.06000000/1.01562487],V4:[0.94000000/1.06000000/1.01446051],V5:[0.94000000/1.06000000/1.01636226],V6:[0.94000000/1.06000000/1.05999886],V7:[0.94000000/1.06000000/1.04634633],V8:[0.94000000/1.06000000/1.05999911],V9:[0.94000000/1.06000000/1.04369846],V10:[0.94000000/1.06000000/1.03913599],V11:[0.94000000/1.06000000/1.04600866],V12:[0.94000000/1.06000000/1.04481935],V13:[0.94000000/1.06000000/1.03994784],V14:[0.94000000/1.06000000/1.02388785],THETA1:[0.00000000/0.00000000/0.00000000],THETA2:[-3.14159000/3.14159000/-0.07020266],THETA3:[-3.14159000/3.14159000/-0.17324002],THETA4:[-3.14159000/3.14159000/-0.15123079],THETA5:[-3.14159000/3.14159000/-0.12965066],THETA6:[-3.14159000/3.14159000/-0.22146892],THETA7:[-3.14159000/3.14159000/-0.19526557],THETA8:[-3.14159000/3.14159000/-0.18177359],THETA9:[-3.14159000/3.14159000/-0.22684336],THETA10:[-3.14159000/3.14159000/-0.23095782],THETA11:[-3.14159000/3.14159000/-0.22848042],THETA12:[-3.14159000/3.14159000/-0.23619062],THETA13:[-3.14159000/3.14159000/-0.23706068],THETA14:[-3.14159000/3.14159000/-0.24913026]
\ No newline at end of file
Objective value: 8081.524863211893
Variable values:
PG1: 1.9433026223275753
PG2: 0.36719177861648294
PG3: 0.28742775690249933
PG4: -0.000000009984464006660016
PG5: 0.08494992101299519
QG1: -0.000000009955585690888025
QG2: 0.23685279252120695
QG3: 0.24126906455594935
QG4: 0.11545898935443046
QG5: 0.08273038990597786
V1: 1.060000010599306
V2: 1.0407532441084917
V3: 1.0156254539752665
V4: 1.014461083554767
V5: 1.0163627955346575
V6: 1.0600000105928618
V7: 1.04634717130161
V8: 1.0600000105943352
V9: 1.043699395586948
V10: 1.0391369754834276
V11: 1.0460097333338314
V12: 1.0448205040803291
V13: 1.0399489898488996
V14: 1.0238889019345303
THETA1: 0
THETA2: -0.0702027176507648
THETA3: -0.1732399317802675
THETA4: -0.15123088256834483
THETA5: -0.1296507940705702
THETA6: -0.22146931352517585
THETA7: -0.19526562691235677
THETA8: -0.18177360217849764
THETA9: -0.22684341284389342
THETA10: -0.23095792402880533
THETA11: -0.22848066069717496
THETA12: -0.23619095639565046
THETA13: -0.23706098994162655
THETA14: -0.2491303921041823
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Objective value: 574.5168351061757
Variable values:
PG1: 0.4379181987032237
PG2: 0.5796429749239124
PG3: 0.23073891878937275
PG4: 0.3263296811956212
PG5: 0.16810627669802292
PG6: 0.1734576202159641
QG1: -0.010963516525375087
QG2: 0.22888715630526785
QG3: 0.2894227055194664
QG4: 0.14374659429669598
QG5: 0.07050588273243048
QG6: 0.2673165121231683
V1: 1.0500000104762623
V2: 1.0469573776724015
V3: 1.0338489263750754
V4: 1.0310033980549977
V5: 1.0321282860793302
V6: 1.0245157064359474
V7: 1.0185389936978686
V8: 1.012941653254554
V9: 1.0312848871836147
V10: 1.0349395393767336
V11: 1.0312848871836147
V12: 1.0500000104953224
V13: 1.084276589310438
V14: 1.0391204134230072
V15: 1.0410294159139941
V16: 1.036701469646519
V17: 1.0303889146759517
V18: 1.0266410274202389
V19: 1.0215485043798271
V20: 1.0240257803619437
V21: 1.0406838662461624
V22: 1.046206307243475
V23: 1.0540908830588862
V24: 1.040702722788632
V25: 1.0500000104928036
V26: 1.0330440283655673
V27: 1.0639819175758485
V28: 1.0278108000351953
V29: 1.0449327596869658
V30: 1.0339907323418718
THETA1: 0
THETA2: -0.01261992737478855
THETA3: -0.035669415888555475
THETA4: -0.04244136328700221
THETA5: -0.03883307626326938
THETA6: -0.04877058917789466
THETA7: -0.053439061740885696
THETA8: -0.055901282510445155
THETA9: -0.0651184495593664
THETA10: -0.07359509090497185
THETA11: -0.0651184495593664
THETA12: -0.06934688779824631
THETA13: -0.048015212098880815
THETA14: -0.07862567197828611
THETA15: -0.07515079654741144
THETA16: -0.07603597691057812
THETA17: -0.07785865802217148
THETA18: -0.08681670457480062
THETA19: -0.09053657445265119
THETA20: -0.08721023598897869
THETA21: -0.07346247989982667
THETA22: -0.07133274132919219
THETA23: -0.05839943589097019
THETA24: -0.06273297308627393
THETA25: -0.03790312558487085
THETA26: -0.04486365585063378
THETA27: -0.01824087029172949
THETA28: -0.04828173405026866
THETA29: -0.03823384306772252
THETA30: -0.052218946830118226
Objective value: 41864.177712614524
Variable values:
PG1: 6.715933533266847
PG2: 6.460000064597665
PG3: 6.711538595994945
PG4: 6.520000065182512
PG5: 5.080000050799529
PG6: 6.614543604510545
PG7: 5.800000057999096
PG8: 5.640000056399209
PG9: 6.5403383772384895
PG10: 6.8959094914094035
QG1: 1.3999999860248253
QG2: 3.0000000299409155
QG3: 3.0000000297297063
QG4: 1.1507995782290479
QG5: 1.3959169245107916
QG6: 2.2290613345562336
QG7: 0.6062982961948918
QG8: 0.0863716908827201
QG9: -0.32766086658561844
QG10: 0.8208966086358357
V1: 1.0412463945080808
V2: 1.054425994834015
V3: 1.0455451900720714
V4: 1.0353823772549582
V5: 1.0439517235505835
V6: 1.0479931913117952
V7: 1.035736646666691
V8: 1.033835034506785
V9: 1.0565958909268311
V10: 1.059840138213194
V11: 1.054575576867182
V12: 1.0421048022645767
V13: 1.0542937378390922
V14: 1.0448523241087424
V15: 1.0358865358513694
V16: 1.0463936403011977
V17: 1.047420866728084
V18: 1.0454685075642403
V19: 1.0600000105990612
V20: 0.9968141720367603
V21: 1.0440743795309788
V22: 1.0596318164365857
V23: 1.0522439989313461
V24: 1.0508118678680898
V25: 1.060000010599583
V26: 1.0600000105997076
V27: 1.0487008408405571
V28: 1.055369687489924
V29: 1.0531711702977964
V30: 1.046344961412761
V31: 1.0384749294987832
V32: 1.0397613299518937
V33: 1.0072102902534052
V34: 1.0132162415049488
V35: 1.0600000105978482
V36: 1.060000010598431
V37: 1.031566965909859
V38: 1.0227224806914523
V39: 1.0380682459946562
THETA1: -0.23344727503107193
THETA2: -0.0948296850378047
THETA3: -0.1566704201772613
THETA4: -0.1813791943618577
THETA5: -0.16916171470003485
THETA6: -0.15716715717857577
THETA7: -0.19933113821161233
THETA8: -0.21083899401868572
THETA9: -0.2631631152020523
THETA10: -0.11465387907301276
THETA11: -0.12906965350750693
THETA12: -0.12824783201595058
THETA13: -0.1253174792027444
THETA14: -0.15019118936893014
THETA15: -0.15188897554938102
THETA16: -0.1258546654855347
THETA17: -0.1452414365057212
THETA18: -0.15687583731116211
THETA19: -0.04315687435483414
THETA20: -0.06722313557598192
THETA21: -0.08253256126651869
THETA22: -0.004065893535564185
THETA23: -0.006733425600468531
THETA24: -0.12307781588817877
THETA25: -0.07927676866102554
THETA26: -0.13206096944222406
THETA27: -0.1579515150846744
THETA28: -0.1081732108914661
THETA29: -0.07214273189613302
THETA30: 0.018343966393653707
THETA31: 0
THETA32: 0.016053212758781552
THETA33: 0.048954387614925716
THETA34: 0.022994626468252764
THETA35: 0.08235916992510342
THETA36: 0.13490868256482458
THETA37: 0.04363961097277546
THETA38: 0.025355003076542856
THETA39: -0.29572228361337954
Objective value: 41737.78705471332
Variable values:
PG1: 1.426262949933819
PG2: 0.8779099063787555
PG3: 0.4507094789914592
PG4: 0.7286263549135764
PG5: 4.598048197421617
PG6: 0.9763449224423756
PG7: 3.6152203003581502
QG1: 0.44585216257968036
QG2: 0.5000000037228604
QG3: 0.287536285627196
QG4: 0.07763279261017506
QG5: 0.8719886578292829
QG6: 0.09000000611595135
QG7: 0.43257239370274597
V1: 1.0092917707222508
V2: 1.0075543208019468
V3: 1.003263184178977
V4: 1.0064666746496713
V5: 1.015800453791345
V6: 1.0256673511339507
V7: 1.024392440397841
V8: 1.043827366531281
V9: 1.0040759839558353
V10: 0.9842300284434164
V11: 0.9838536609796563
V12: 0.9918489288664829
V13: 0.9776436515904895
V14: 0.9703077853190614
V15: 0.988135996981153
V16: 0.9909394008320195
V17: 0.9927516649661956
V18: 1.0262904499669232
V19: 0.9883738315167591
V20: 0.9770780146673295
V21: 1.0151436222835555
V22: 1.0150840938488066
V23: 1.0143847712069873
V24: 1.017205014229194
V25: 1.000735646816085
V26: 0.9761724824957728
V27: 1.0127591113332837
V28: 1.0332435229312154
V29: 1.0503513948427392
V30: 0.9800022546686894
V31: 0.950822469300979
V32: 0.9601059334782907
V33: 0.9578364320386967
V34: 0.966749539328581
V35: 0.973143263912887
V36: 0.9822494438576964
V37: 0.9906384210645633
V38: 1.0164304930931705
V39: 0.9887699951863621
V40: 0.9795621271262541
V41: 1.0066795267539619
V42: 0.9749958650488953
V43: 1.0198622873212326
V44: 1.0191183245854132
V45: 1.0347639865382012
V46: 1.0600000105250076
V47: 1.0344651438576329
V48: 1.0293889956446383
V49: 1.0377327336878943
V50: 1.024117843864265
V51: 1.0520461659639042
V52: 1.0193373685979734
V53: 1.0090156563516735
V54: 1.02935143752919
V55: 1.0586641481901882
V56: 0.9746386560262477
V57: 0.9699326377443609
THETA1: 0
THETA2: 0.014321419825442563
THETA3: -0.020405984999773075
THETA4: -0.01859643603638768
THETA5: -0.0006130377169665087
THETA6: 0.015367303095270233
THETA7: 0.029089660667819543
THETA8: 0.08245767626533802
THETA9: -0.0015485092613107963
THETA10: -0.06244917071990376
THETA11: -0.03913582229249972
THETA12: -0.060869824064236036
THETA13: -0.055079135347959426
THETA14: -0.061379316449135336
THETA15: -0.0444132803241998
THETA16: -0.06891861667999523
THETA17: -0.050456657467287336
THETA18: -0.09245364546404902
THETA19: -0.11631215103044418
THETA20: -0.11931349842302451
THETA21: -0.11385499509923845
THETA22: -0.11275860908593811
THETA23: -0.11288394461888994
THETA24: -0.10206367496493692
THETA25: -0.1880030000493157
THETA26: -0.09307671196219798
THETA27: -0.049840018493242204
THETA28: -0.026312369946282683
THETA29: -0.010893756083987108
THETA30: -0.19824937983163832
THETA31: -0.21218522071297882
THETA32: -0.2015835728593044
THETA33: -0.20226124085068437
THETA34: -0.1330498140812212
THETA35: -0.12923278621974468
THETA36: -0.1247793120828325
THETA37: -0.12209817604052711
THETA38: -0.11223643299385015
THETA39: -0.12254323550646645
THETA40: -0.12463499879627482
THETA41: -0.1119226272967688
THETA42: -0.1402583561461968
THETA43: -0.06069762093463622
THETA44: -0.10315514790678075
THETA45: -0.07093346275123645
THETA46: -0.08883415592620471
THETA47: -0.10990866962867622
THETA48: -0.11045144875472214
THETA49: -0.11062072341802134
THETA50: -0.11168941653326502
THETA51: -0.08406076919552241
THETA52: -0.03772331919852508
THETA53: -0.04935049399473109
THETA54: -0.038252277125268165
THETA55: -0.021345164671598346
THETA56: -0.15294240822494165
THETA57: -0.16440088410974713
+1400.00000000*PG1+1500.00000000*PG2+3000.00000000*PG3+4000.00000000*PG4+1000.00000000*PG5
PG1+PG2-0.00000000-V1*(V1*(22.25068569)+V2*(-3.52348402*cos(THETA1-THETA2)+35.23484021*sin(THETA1-THETA2))+V4*(-3.25690464*cos(THETA1-THETA4)+32.56904638*sin(THETA1-THETA4))+V5*(-15.47029703*cos(THETA1-THETA5)+154.70297030*sin(THETA1-THETA5))):[0/0]
-3.00000000-V2*(V1*(-3.52348402*cos(THETA2-THETA1)+35.23484021*sin(THETA2-THETA1))+V2*(12.69106745)+V3*(-9.16758343*cos(THETA2-THETA3)+91.67583425*sin(THETA2-THETA3))):[0/0]
PG3-3.00000000-V3*(V2*(-9.16758343*cos(THETA3-THETA2)+91.67583425*sin(THETA3-THETA2))+V3*(12.50125013)+V4*(-3.33366670*cos(THETA3-THETA4)+33.33666700*sin(THETA3-THETA4))):[0/0]
PG4-4.00000000-V4*(V1*(-3.25690464*cos(THETA4-THETA1)+32.56904638*sin(THETA4-THETA1))+V3*(-3.33366670*cos(THETA4-THETA3)+33.33666700*sin(THETA4-THETA3))+V4*(9.92423804)+V5*(-3.33366670*cos(THETA4-THETA5)+33.33666700*sin(THETA4-THETA5))):[0/0]
PG5-0.00000000-V5*(V1*(-15.47029703*cos(THETA5-THETA1)+154.70297030*sin(THETA5-THETA1))+V4*(-3.33366670*cos(THETA5-THETA4)+33.33666700*sin(THETA5-THETA4))+V5*(18.80396373)):[0/0]
QG1+QG2-0.00000000-V1*(V1*(--222.48437689)+V2*(-3.52348402*sin(THETA1-THETA2)-35.23484021*cos(THETA1-THETA2))+V4*(-3.25690464*sin(THETA1-THETA4)-32.56904638*cos(THETA1-THETA4))+V5*(-15.47029703*sin(THETA1-THETA5)-154.70297030*cos(THETA1-THETA5))):[0/0]
-0.98610000-V2*(V1*(-3.52348402*sin(THETA2-THETA1)-35.23484021*cos(THETA2-THETA1))+V2*(--126.89785446)+V3*(-9.16758343*sin(THETA2-THETA3)-91.67583425*cos(THETA2-THETA3))):[0/0]
QG3-0.98610000-V3*(V2*(-9.16758343*sin(THETA3-THETA2)-91.67583425*cos(THETA3-THETA2))+V3*(--124.99987125)+V4*(-3.33366670*sin(THETA3-THETA4)-33.33666700*cos(THETA3-THETA4))):[0/0]
QG4-1.31470000-V4*(V1*(-3.25690464*sin(THETA4-THETA1)-32.56904638*cos(THETA4-THETA1))+V3*(-3.33366670*sin(THETA4-THETA3)-33.33666700*cos(THETA4-THETA3))+V4*(--99.23235038)+V5*(-3.33366670*sin(THETA4-THETA5)-33.33666700*cos(THETA4-THETA5))):[0/0]
QG5-0.00000000-V5*(V1*(-15.47029703*sin(THETA5-THETA1)-154.70297030*cos(THETA5-THETA1))+V4*(-3.33366670*sin(THETA5-THETA4)-33.33666700*cos(THETA5-THETA4))+V5*(--188.02063730)):[0/0]
V1*V2*(-3.52348402*cos(THETA1-THETA2)+35.23484021*sin(THETA1-THETA2))--3.52348402*V1^2:[/4.00000000]
V4*V5*(-3.33366670*cos(THETA4-THETA5)+33.33666700*sin(THETA4-THETA5))--3.33366670*V4^2:[/2.40000000]
V2*V1*(-3.52348402*cos(THETA2-THETA1)+35.23484021*sin(THETA2-THETA1))--3.52348402*V2^2:[/4.00000000]
V5*V4*(-3.33366670*cos(THETA5-THETA4)+33.33666700*sin(THETA5-THETA4))--3.33366670*V5^2:[/2.40000000]
V1:[0.90000000/1.10000000],V2:[0.90000000/1.10000000],V3:[0.90000000/1.10000000],V4:[0.90000000/1.10000000],V5:[0.90000000/1.10000000],THETA1:[-3.14159000/3.14159000],THETA2:[-3.14159000/3.14159000],THETA3:[-3.14159000/3.14159000],THETA4:[0.00000000/0.00000000],THETA5:[-3.14159000/3.14159000],PG1:[0.00000000/0.40000000],PG2:[0.00000000/1.70000000],PG3:[0.00000000/5.20000000],PG4:[0.00000000/2.00000000],PG5:[0.00000000/6.00000000],QG1:[-0.30000000/0.30000000],QG2:[-1.27500000/1.27500000],QG3:[-3.90000000/3.90000000],QG4:[-1.50000000/1.50000000],QG5:[-4.50000000/4.50000000]
\ No newline at end of file
Objective value: 17545.72542482958
Variable values:
V1: 1.084028076575362
V2: 1.08586954933736
V3: 1.1000000109973362
V4: 1.059188481432394
V5: 1.0789529707090493
THETA1: 0.047747284171239315
THETA2: -0.013301480936154533
THETA3: -0.010162641838136083
THETA4: 0
THETA5: 0.06098195216205381
PG1: 0.4000000099986138
PG2: 1.7000000169978795
PG3: 3.241400961606251
PG4: -0.000000009965249944440519
PG5: 4.711522540376949
QG1: 0.30000000998855963
QG2: 1.275000012738577
QG3: 3.900000038963795
QG4: -1.205728139742629
QG5: -0.543322993476943
1100.00000000*PG1^2+500.00000000*PG1+150.00000000+850.00000000*PG2^2+120.00000000*PG2+600.00000000+1225.00000000*PG3^2+100.00000000*PG3+335.00000000
PG1-0.00000000-V1*(V1*(0.00000000)+V4*(0.00000000*cos(THETA1-THETA4)+17.36111111*sin(THETA1-THETA4))):[0/0]
PG2-0.00000000-V2*(V2*(0.00000000)+V8*(0.00000000*cos(THETA2-THETA8)+16.00000000*sin(THETA2-THETA8))):[0/0]
PG3-0.00000000-V3*(V3*(0.00000000)+V6*(0.00000000*cos(THETA3-THETA6)+17.06484642*sin(THETA3-THETA6))):[0/0]
-0.00000000-V4*(V1*(0.00000000*cos(THETA4-THETA1)+17.36111111*sin(THETA4-THETA1))+V4*(3.30737896)+V5*(-1.94219125*cos(THETA4-THETA5)+10.51068205*sin(THETA4-THETA5))+V9*(-1.36518771*cos(THETA4-THETA9)+11.60409556*sin(THETA4-THETA9))):[0/0]
-0.90000000-V5*(V4*(-1.94219125*cos(THETA5-THETA4)+10.51068205*sin(THETA5-THETA4))+V5*(3.22420039)+V6*(-1.28200914*cos(THETA5-THETA6)+5.58824496*sin(THETA5-THETA6))):[0/0]
-0.00000000-V6*(V3*(0.00000000*cos(THETA6-THETA3)+17.06484642*sin(THETA6-THETA3))+V5*(-1.28200914*cos(THETA6-THETA5)+5.58824496*sin(THETA6-THETA5))+V6*(2.43709662)+V7*(-1.15508748*cos(THETA6-THETA7)+9.78427043*sin(THETA6-THETA7))):[0/0]
-1.00000000-V7*(V6*(-1.15508748*cos(THETA7-THETA6)+9.78427043*sin(THETA7-THETA6))+V7*(2.77220995)+V8*(-1.61712247*cos(THETA7-THETA8)+13.69797860*sin(THETA7-THETA8))):[0/0]
-0.00000000-V8*(V2*(0.00000000*cos(THETA8-THETA2)+16.00000000*sin(THETA8-THETA2))+V7*(-1.61712247*cos(THETA8-THETA7)+13.69797860*sin(THETA8-THETA7))+V8*(2.80472685)+V9*(-1.18760438*cos(THETA8-THETA9)+5.97513453*sin(THETA8-THETA9))):[0/0]
-1.25000000-V9*(V4*(-1.36518771*cos(THETA9-THETA4)+11.60409556*sin(THETA9-THETA4))+V8*(-1.18760438*cos(THETA9-THETA8)+5.97513453*sin(THETA9-THETA8))+V9*(2.55279209)):[0/0]
QG1-0.00000000-V1*(V1*(--17.36111111)+V4*(0.00000000*sin(THETA1-THETA4)-17.36111111*cos(THETA1-THETA4))):[0/0]
QG2-0.00000000-V2*(V2*(--16.00000000)+V8*(0.00000000*sin(THETA2-THETA8)-16.00000000*cos(THETA2-THETA8))):[0/0]
QG3-0.00000000-V3*(V3*(--17.06484642)+V6*(0.00000000*sin(THETA3-THETA6)-17.06484642*cos(THETA3-THETA6))):[0/0]
-0.00000000-V4*(V1*(0.00000000*sin(THETA4-THETA1)-17.36111111*cos(THETA4-THETA1))+V4*(--39.30888873)+V5*(-1.94219125*sin(THETA4-THETA5)-10.51068205*cos(THETA4-THETA5))+V9*(-1.36518771*sin(THETA4-THETA9)-11.60409556*cos(THETA4-THETA9))):[0/0]
-0.30000000-V5*(V4*(-1.94219125*sin(THETA5-THETA4)-10.51068205*cos(THETA5-THETA4))+V5*(--15.84092701)+V6*(-1.28200914*sin(THETA5-THETA6)-5.58824496*cos(THETA5-THETA6))):[0/0]
-0.00000000-V6*(V3*(0.00000000*sin(THETA6-THETA3)-17.06484642*cos(THETA6-THETA3))+V5*(-1.28200914*sin(THETA6-THETA5)-5.58824496*cos(THETA6-THETA5))+V6*(--32.15386181)+V7*(-1.15508748*sin(THETA6-THETA7)-9.78427043*cos(THETA6-THETA7))):[0/0]
-0.35000000-V7*(V6*(-1.15508748*sin(THETA7-THETA6)-9.78427043*cos(THETA7-THETA6))+V7*(--23.30324902)+V8*(-1.61712247*sin(THETA7-THETA8)-13.69797860*cos(THETA7-THETA8))):[0/0]
-0.00000000-V8*(V2*(0.00000000*sin(THETA8-THETA2)-16.00000000*cos(THETA8-THETA2))+V7*(-1.61712247*sin(THETA8-THETA7)-13.69797860*cos(THETA8-THETA7))+V8*(--35.44561313)+V9*(-1.18760438*sin(THETA8-THETA9)-5.97513453*cos(THETA8-THETA9))):[0/0]
-0.50000000-V9*(V4*(-1.36518771*sin(THETA9-THETA4)-11.60409556*cos(THETA9-THETA4))+V8*(-1.18760438*sin(THETA9-THETA8)-5.97513453*cos(THETA9-THETA8))+V9*(--17.33823010)):[0/0]
V1*V4*(0.00000000*cos(THETA1-THETA4)+17.36111111*sin(THETA1-THETA4))-0.00000000*V1^2:[/2.50000000]
V4*V5*(-1.94219125*cos(THETA4-THETA5)+10.51068205*sin(THETA4-THETA5))--1.94219125*V4^2:[/2.50000000]
V5*V6*(-1.28200914*cos(THETA5-THETA6)+5.58824496*sin(THETA5-THETA6))--1.28200914*V5^2:[/1.50000000]
V3*V6*(0.00000000*cos(THETA3-THETA6)+17.06484642*sin(THETA3-THETA6))-0.00000000*V3^2:[/3.00000000]
V6*V7*(-1.15508748*cos(THETA6-THETA7)+9.78427043*sin(THETA6-THETA7))--1.15508748*V6^2:[/1.50000000]
V7*V8*(-1.61712247*cos(THETA7-THETA8)+13.69797860*sin(THETA7-THETA8))--1.61712247*V7^2:[/2.50000000]
V8*V2*(0.00000000*cos(THETA8-THETA2)+16.00000000*sin(THETA8-THETA2))-0.00000000*V8^2:[/2.50000000]
V8*V9*(-1.18760438*cos(THETA8-THETA9)+5.97513453*sin(THETA8-THETA9))--1.18760438*V8^2:[/2.50000000]
V9*V4*(-1.36518771*cos(THETA9-THETA4)+11.60409556*sin(THETA9-THETA4))--1.36518771*V9^2:[/2.50000000]
V4*V1*(0.00000000*cos(THETA4-THETA1)+17.36111111*sin(THETA4-THETA1))-0.00000000*V4^2:[/2.50000000]
V5*V4*(-1.94219125*cos(THETA5-THETA4)+10.51068205*sin(THETA5-THETA4))--1.94219125*V5^2:[/2.50000000]
V6*V5*(-1.28200914*cos(THETA6-THETA5)+5.58824496*sin(THETA6-THETA5))--1.28200914*V6^2:[/1.50000000]
V6*V3*(0.00000000*cos(THETA6-THETA3)+17.06484642*sin(THETA6-THETA3))-0.00000000*V6^2:[/3.00000000]
V7*V6*(-1.15508748*cos(THETA7-THETA6)+9.78427043*sin(THETA7-THETA6))--1.15508748*V7^2:[/1.50000000]
V8*V7*(-1.61712247*cos(THETA8-THETA7)+13.69797860*sin(THETA8-THETA7))--1.61712247*V8^2:[/2.50000000]
V2*V8*(0.00000000*cos(THETA2-THETA8)+16.00000000*sin(THETA2-THETA8))-0.00000000*V2^2:[/2.50000000]
V9*V8*(-1.18760438*cos(THETA9-THETA8)+5.97513453*sin(THETA9-THETA8))--1.18760438*V9^2:[/2.50000000]
V4*V9*(-1.36518771*cos(THETA4-THETA9)+11.60409556*sin(THETA4-THETA9))--1.36518771*V4^2:[/2.50000000]
PG1:[0.10000000/2.50000000/0.89798225],PG2:[0.10000000/3.00000000/1.34320864],PG3:[0.10000000/2.70000000/0.94187669],QG1:[-3.00000000/3.00000000/0.12836024],QG2:[-3.00000000/3.00000000/0.00108303],QG3:[-3.00000000/3.00000000/-0.22564772],V1:[0.90000000/1.10000000/1.09976434],V2:[0.90000000/1.10000000/1.09739531],V3:[0.90000000/1.10000000/1.08665486],V4:[0.90000000/1.10000000/1.09405270],V5:[0.90000000/1.10000000/1.08433327],V6:[0.90000000/1.10000000/1.09999665],V7:[0.90000000/1.10000000/1.08948622],V8:[0.90000000/1.10000000/1.09999694],V9:[0.90000000/1.10000000/1.07163842],THETA1:[0.00000000/0.00000000/0.00000000],THETA2:[-3.14159000/3.14159000/0.08536518],THETA3:[-3.14159000/3.14159000/0.05667011],THETA4:[-3.14159000/3.14159000/-0.04300171],THETA5:[-3.14159000/3.14159000/-0.06952958],THETA6:[-3.14159000/3.14159000/0.01047850],THETA7:[-3.14159000/3.14159000/-0.02092232],THETA8:[-3.14159000/3.14159000/0.01576352],THETA9:[-3.14159000/3.14159000/-0.08058305]
\ No newline at end of file
Objective value: 5296.68620431761
Variable values:
PG1: 0.8979870685071148
PG2: 1.343206011886868
PG3: 0.9418738089581109
QG1: 0.12965399204805406
QG2: 0.00031987619558690526
QG3: -0.22634076126698913
V1: 1.0999995652827035
V2: 1.0973547169976436
V3: 1.086620385149638
V4: 1.0942212087556769
V5: 1.0844482912265712
V6: 1.100000010285162
V7: 1.089489495122227
V8: 1.1000000103078604
V9: 1.0717552399856662
THETA1: 0
THETA2: 0.08541011066833508
THETA3: 0.05671511315111993
THETA4: -0.042986162961923716
THETA5: -0.06949876021774358
THETA6: 0.010522316375805413
THETA7: -0.020878969306600433
THETA8: 0.015806198824993956
THETA9: -0.08055116863692784
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论