mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
NL file format with .nl extension
This commit is contained in:
84
samples/NL/assign0.nl
Normal file
84
samples/NL/assign0.nl
Normal file
@@ -0,0 +1,84 @@
|
||||
g3 0 1 0 # problem assign0
|
||||
9 6 1 0 6 # vars, constraints, objectives, ranges, eqns
|
||||
0 0 # nonlinear constraints, objectives
|
||||
0 0 # network constraints: nonlinear, linear
|
||||
0 0 0 # nonlinear vars in constraints, objectives, both
|
||||
0 0 0 1 # linear network variables; functions; arith, flags
|
||||
9 0 0 0 0 # discrete variables: binary, integer, nonlinear (b,c,o)
|
||||
18 9 # nonzeros in Jacobian, gradients
|
||||
0 0 # max name lengths: constraints, variables
|
||||
0 0 0 0 0 # common exprs: b,c,o,c1,o1
|
||||
C0
|
||||
n0
|
||||
C1
|
||||
n0
|
||||
C2
|
||||
n0
|
||||
C3
|
||||
n0
|
||||
C4
|
||||
n0
|
||||
C5
|
||||
n0
|
||||
O0 0
|
||||
n0
|
||||
r
|
||||
4 1
|
||||
4 1
|
||||
4 1
|
||||
4 1
|
||||
4 1
|
||||
4 1
|
||||
b
|
||||
0 0 1
|
||||
0 0 1
|
||||
0 0 1
|
||||
0 0 1
|
||||
0 0 1
|
||||
0 0 1
|
||||
0 0 1
|
||||
0 0 1
|
||||
0 0 1
|
||||
k8
|
||||
2
|
||||
4
|
||||
6
|
||||
8
|
||||
10
|
||||
12
|
||||
14
|
||||
16
|
||||
J0 3
|
||||
0 1
|
||||
1 1
|
||||
2 1
|
||||
J1 3
|
||||
3 1
|
||||
4 1
|
||||
5 1
|
||||
J2 3
|
||||
6 1
|
||||
7 1
|
||||
8 1
|
||||
J3 3
|
||||
0 1
|
||||
3 1
|
||||
6 1
|
||||
J4 3
|
||||
1 1
|
||||
4 1
|
||||
7 1
|
||||
J5 3
|
||||
2 1
|
||||
5 1
|
||||
8 1
|
||||
G0 9
|
||||
0 1
|
||||
1 3
|
||||
2 3
|
||||
3 2
|
||||
4 3
|
||||
5 3
|
||||
6 3
|
||||
7 3
|
||||
8 2
|
||||
Reference in New Issue
Block a user