Skip to content

Commit 216687d

Browse files
authored
Merge pull request #12 from SECQUOIA/testing-local-build-deployment
Testing local build deployment
2 parents 3e83e99 + c0af494 commit 216687d

File tree

536 files changed

+42660
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

536 files changed

+42660
-1
lines changed

README.md

+15-1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4.04 KB
Binary file not shown.

_build/.doctrees/README.doctree

5.34 KB
Binary file not shown.

_build/.doctrees/environment.pickle

363 KB
Binary file not shown.

_build/.doctrees/intro.doctree

3.33 KB
Binary file not shown.
9.67 KB
Binary file not shown.

docs/.buildinfo

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: b0447c1d44c8bed488ca48d70a7cce9f
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/Material/Dynamic Exercises.html

+536
Large diffs are not rendered by default.

docs/Material/Dynamic Exercises/colloc_matrix.html

+606
Large diffs are not rendered by default.

docs/Material/Dynamic Exercises/param_est1.html

+712
Large diffs are not rendered by default.

docs/Material/Dynamic Exercises/param_est2.html

+1,006
Large diffs are not rendered by default.

docs/Material/Dynamic Exercises/small_colloc.html

+722
Large diffs are not rendered by default.

docs/Material/Dynamic Exercises/small_dae.html

+680
Large diffs are not rendered by default.

docs/Material/Dynamic Exercises/small_findiff.html

+677
Large diffs are not rendered by default.

docs/Material/GDP Exercises.html

+534
Large diffs are not rendered by default.

docs/Material/GDP Exercises/strip_packing.html

+682
Large diffs are not rendered by default.

docs/Material/Nonlinear Exercises.html

+536
Large diffs are not rendered by default.

docs/Material/Nonlinear Exercises/1.1 Alternative Initialization.html

+664
Large diffs are not rendered by default.

docs/Material/Nonlinear Exercises/1.2 Evaluation errors.html

+873
Large diffs are not rendered by default.

docs/Material/Nonlinear Exercises/1.3 Alternative Formulations.html

+989
Large diffs are not rendered by default.

docs/Material/Nonlinear Exercises/1.4 Reactor design problem.html

+700
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals.html

+536
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/1.1 Knapsack Example.html

+627
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/1.2 Knapsack with improved printing.html

+642
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/1.3 Changing data.html

+638
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/1.4 Loading data from Excel.html

+643
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/1.5 NLP vs MIP.html

+656
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/2.1 Knapsack problem with rules.html

+627
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/2.2 Integer formulation of the knapsack problem.html

+658
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/3.1 Using the decorator notation for rules.html

+650
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/3.2 Changing Parameter values.html

+631
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/3.3 Integer cuts.html

+655
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/3.4 Putting it all together with the lot sizing example.html

+710
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/Exercises 1.html

+534
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/Exercises 2.html

+536
Large diffs are not rendered by default.

docs/Material/Pyomo Fundamentals/Exercises 3.html

+536
Large diffs are not rendered by default.

docs/Material/References.html

+525
Large diffs are not rendered by default.

docs/README.html

+550
Large diffs are not rendered by default.

docs/_images/000000.png

75 Bytes

docs/_images/0000001.png

75 Bytes

docs/_images/005b82.png

86 Bytes

docs/_images/005b821.png

86 Bytes

docs/_images/00622f.png

86 Bytes

docs/_images/00622f1.png

86 Bytes

docs/_images/0072b2.png

86 Bytes

docs/_images/0072b21.png

86 Bytes

docs/_images/00749c.png

86 Bytes

docs/_images/00749c1.png

86 Bytes

docs/_images/008561.png

86 Bytes

docs/_images/0085611.png

86 Bytes

docs/_images/00e0e0.png

86 Bytes

docs/_images/00e0e01.png

86 Bytes

docs/_images/023b95.png

86 Bytes

docs/_images/023b951.png

86 Bytes

docs/_images/024c1a.png

86 Bytes

docs/_images/024c1a1.png

86 Bytes

docs/_images/0550ae.png

86 Bytes

docs/_images/0550ae1.png

86 Bytes

docs/_images/080808.png

86 Bytes

docs/_images/0808081.png

86 Bytes

docs/_images/116329.png

86 Bytes

docs/_images/1163291.png

86 Bytes

docs/_images/116633.png

86 Bytes

docs/_images/1166331.png

86 Bytes

docs/_images/141414.png

86 Bytes

docs/_images/1414141.png

86 Bytes

docs/_images/18c1c4.png

86 Bytes

docs/_images/18c1c41.png

86 Bytes

docs/_images/1e1e1e.png

86 Bytes

docs/_images/1e1e1e1.png

86 Bytes

docs/_images/24292f.png

86 Bytes

docs/_images/24292f1.png

86 Bytes

docs/_images/3d73a9.png

86 Bytes

docs/_images/3d73a91.png

86 Bytes

docs/_images/437a6b.png

86 Bytes

docs/_images/437a6b1.png

86 Bytes

docs/_images/515151.png

86 Bytes

docs/_images/5151511.png

86 Bytes

docs/_images/5391cf.png

86 Bytes

docs/_images/5391cf1.png

86 Bytes

docs/_images/5ca7e4.png

86 Bytes

docs/_images/5ca7e41.png

86 Bytes

docs/_images/622cbc.png

86 Bytes

docs/_images/622cbc1.png

86 Bytes

docs/_images/66707b.png

86 Bytes

docs/_images/66707b1.png

86 Bytes

docs/_images/66ccee.png

86 Bytes

docs/_images/66ccee1.png

86 Bytes

docs/_images/66e9ec.png

86 Bytes

docs/_images/66e9ec1.png

86 Bytes

docs/_images/6730c5.png

86 Bytes

docs/_images/6730c51.png

86 Bytes

docs/_images/6e7781.png

86 Bytes

docs/_images/6e77811.png

86 Bytes

docs/_images/6f98b3.png

86 Bytes

docs/_images/6f98b31.png

86 Bytes

docs/_images/702c00.png

85 Bytes

docs/_images/702c001.png

85 Bytes

docs/_images/72f088.png

86 Bytes

docs/_images/72f0881.png

86 Bytes

docs/_images/737373.png

86 Bytes

docs/_images/7373731.png

86 Bytes

docs/_images/797979.png

86 Bytes

docs/_images/7979791.png

86 Bytes

docs/_images/7998f2.png

86 Bytes

docs/_images/7998f21.png

86 Bytes

docs/_images/79c0ff.png

86 Bytes

docs/_images/79c0ff1.png

86 Bytes

docs/_images/7ee787.png

86 Bytes

docs/_images/7ee7871.png

86 Bytes

docs/_images/7f4707.png

86 Bytes

docs/_images/7f47071.png

86 Bytes

docs/_images/8045e5.png

86 Bytes

docs/_images/8045e51.png

86 Bytes

docs/_images/81b19b.png

86 Bytes

docs/_images/81b19b1.png

86 Bytes

docs/_images/8250df.png

86 Bytes

docs/_images/8250df1.png

86 Bytes

docs/_images/8786ac.png

86 Bytes

docs/_images/8786ac1.png

86 Bytes

docs/_images/8a4600.png

85 Bytes

docs/_images/8a46001.png

85 Bytes

docs/_images/8b949e.png

86 Bytes

docs/_images/8b949e1.png

86 Bytes

docs/_images/8c8c8c.png

86 Bytes

docs/_images/8c8c8c1.png

86 Bytes

docs/_images/912583.png

86 Bytes

docs/_images/9125831.png

86 Bytes

docs/_images/91cbff.png

86 Bytes

docs/_images/91cbff1.png

86 Bytes

docs/_images/953800.png

85 Bytes

docs/_images/9538001.png

85 Bytes

docs/_images/974eb7.png

86 Bytes

docs/_images/974eb71.png

86 Bytes

docs/_images/98661b.png

86 Bytes

docs/_images/98661b1.png

86 Bytes

docs/_images/996b00.png

85 Bytes

docs/_images/996b001.png

85 Bytes

docs/_images/9e86c8.png

86 Bytes

docs/_images/9e86c81.png

86 Bytes

docs/_images/9e8741.png

86 Bytes

docs/_images/9e87411.png

86 Bytes

docs/_images/9f4e55.png

86 Bytes

docs/_images/9f4e551.png

86 Bytes

docs/_images/a0111f.png

86 Bytes

docs/_images/a0111f1.png

86 Bytes

docs/_images/a11y-dark.png

86.2 KB

docs/_images/a11y-dark1.png

86.2 KB
84.8 KB
84.8 KB
85.3 KB
85.3 KB

docs/_images/a11y-light.png

84.8 KB

docs/_images/a11y-light1.png

84.8 KB

docs/_images/a12236.png

86 Bytes

docs/_images/a122361.png

86 Bytes

docs/_images/a25e53.png

86 Bytes

docs/_images/a25e531.png

86 Bytes

docs/_images/a2bffc.png

86 Bytes

docs/_images/a2bffc1.png

86 Bytes

docs/_images/a5d6ff.png

86 Bytes

docs/_images/a5d6ff1.png

86 Bytes

docs/_images/ab6369.png

86 Bytes

docs/_images/ab63691.png

86 Bytes

docs/_images/abe338.png

86 Bytes

docs/_images/abe3381.png

86 Bytes

docs/_images/b19db4.png

86 Bytes

docs/_images/b19db41.png

86 Bytes

docs/_images/b1bac4.png

86 Bytes

docs/_images/b1bac41.png

86 Bytes

docs/_images/b35900.png

85 Bytes

docs/_images/b359001.png

85 Bytes

docs/_images/b89784.png

86 Bytes

docs/_images/b897841.png

86 Bytes

docs/_images/bbbbbb.png

86 Bytes

docs/_images/bbbbbb1.png

86 Bytes

docs/_images/bf5400.png

85 Bytes

docs/_images/bf54001.png

85 Bytes

docs/_images/blinds-dark.png

81.6 KB

docs/_images/blinds-dark1.png

81.6 KB

docs/_images/blinds-light.png

83.8 KB

docs/_images/blinds-light1.png

83.8 KB

docs/_images/c4a2f5.png

86 Bytes

docs/_images/c4a2f51.png

86 Bytes

docs/_images/c5e478.png

86 Bytes

docs/_images/c5e4781.png

86 Bytes

docs/_images/c9d1d9.png

86 Bytes

docs/_images/c9d1d91.png

86 Bytes

docs/_images/caab6d.png

86 Bytes

docs/_images/caab6d1.png

86 Bytes

docs/_images/cc398b.png

86 Bytes

docs/_images/cc398b1.png

86 Bytes

docs/_images/ccbb44.png

86 Bytes

docs/_images/ccbb441.png

86 Bytes

docs/_images/cf222e.png

86 Bytes

docs/_images/cf222e1.png

86 Bytes

docs/_images/d166a3.png

86 Bytes

docs/_images/d166a31.png

86 Bytes

docs/_images/d2a8ff.png

86 Bytes

docs/_images/d2a8ff1.png

86 Bytes

docs/_images/d4d0ab.png

86 Bytes

docs/_images/d4d0ab1.png

86 Bytes

docs/_images/d71835.png

86 Bytes

docs/_images/d718351.png

86 Bytes

docs/_images/d9dee3.png

86 Bytes

docs/_images/d9dee31.png

86 Bytes

docs/_images/dbb7ff.png

86 Bytes

docs/_images/dbb7ff1.png

86 Bytes

docs/_images/dcc6e0.png

86 Bytes

docs/_images/dcc6e01.png

86 Bytes

docs/_images/ec8e2c.png

86 Bytes

docs/_images/ec8e2c1.png

86 Bytes

docs/_images/ee6677.png

86 Bytes

docs/_images/ee66771.png

86 Bytes

docs/_images/f26196.png

86 Bytes

docs/_images/f261961.png

86 Bytes

docs/_images/f5a394.png

86 Bytes

docs/_images/f5a3941.png

86 Bytes

docs/_images/f5ab35.png

86 Bytes

docs/_images/f5ab351.png

86 Bytes

docs/_images/f5f5f5.png

86 Bytes

docs/_images/f5f5f51.png

86 Bytes

docs/_images/f78c6c.png

86 Bytes

docs/_images/f78c6c1.png

86 Bytes

docs/_images/f8f8f2.png

86 Bytes

docs/_images/f8f8f21.png

86 Bytes

docs/_images/fad000.png

85 Bytes

docs/_images/fad0001.png

85 Bytes

docs/_images/fdac54.png

86 Bytes

docs/_images/fdac541.png

86 Bytes

docs/_images/fefeff.png

86 Bytes

docs/_images/fefeff1.png

86 Bytes

docs/_images/ff7b72.png

86 Bytes

docs/_images/ff7b721.png

86 Bytes

docs/_images/ff9492.png

86 Bytes

docs/_images/ff94921.png

86 Bytes

docs/_images/ffa07a.png

86 Bytes

docs/_images/ffa07a1.png

86 Bytes

docs/_images/ffa657.png

86 Bytes

docs/_images/ffa6571.png

86 Bytes

docs/_images/ffb757.png

86 Bytes

docs/_images/ffb7571.png

86 Bytes

docs/_images/ffd700.png

85 Bytes

docs/_images/ffd7001.png

85 Bytes

docs/_images/ffd900.png

85 Bytes

docs/_images/ffd9001.png

85 Bytes
87.3 KB
87.3 KB
87 KB
87 KB

docs/_images/github-dark.png

88.3 KB

docs/_images/github-dark1.png

88.3 KB
86 KB
86 KB
86.5 KB
86.5 KB

docs/_images/github-light.png

86 KB

docs/_images/github-light1.png

86 KB

docs/_images/gotthard-dark.png

86.1 KB

docs/_images/gotthard-dark1.png

86.1 KB

docs/_images/gotthard-light.png

84.3 KB

docs/_images/gotthard-light1.png

84.3 KB

docs/_images/greative.png

84.7 KB

docs/_images/greative1.png

84.7 KB

docs/_images/pitaya-smoothie.png

84.2 KB

docs/_images/pitaya-smoothie1.png

84.2 KB
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"#### Collocation Matrix"
8+
]
9+
},
10+
{
11+
"cell_type": "code",
12+
"execution_count": 1,
13+
"metadata": {},
14+
"outputs": [
15+
{
16+
"name": "stdout",
17+
"output_type": "stream",
18+
"text": [
19+
"[\n",
20+
"[np.float64(-9.000001008080126), np.float64(-4.139388773624379), np.float64(1.7393879671602779), np.float64(-3.0000002520200333)],\n",
21+
"[np.float64(10.048810106494384), np.float64(3.2247461916839306), np.float64(-3.567840077120941), np.float64(5.531972415060627)],\n",
22+
"[np.float64(-1.382142403745367), np.float64(1.1678398419022438), np.float64(0.7752546483828548), np.float64(-7.53197233105394)],\n",
23+
"[np.float64(0.33333330533110994), np.float64(-0.25319725996179565), np.float64(1.0531974615778044), np.float64(5.000000168013341)],\n",
24+
"]\n"
25+
]
26+
}
27+
],
28+
"source": [
29+
"import numpy\n",
30+
"\n",
31+
"cp = [0, 0.155051, 0.644949, 1]\n",
32+
"\n",
33+
"a = []\n",
34+
"\n",
35+
"print('[')\n",
36+
"for i in range(len(cp)):\n",
37+
" ptmp = []\n",
38+
" tmp = 0\n",
39+
" for j in range(len(cp)):\n",
40+
" if j != i:\n",
41+
" row = []\n",
42+
" row.insert(0,1/(cp[i]-cp[j]))\n",
43+
" row.insert(1,-cp[j]/(cp[i]-cp[j]))\n",
44+
" ptmp.insert(tmp,row)\n",
45+
" tmp += 1\n",
46+
" p=[1]\n",
47+
" for j in range(len(cp)-1):\n",
48+
" p = numpy.convolve(p,ptmp[j])\n",
49+
" pder = numpy.polyder(p,1)\n",
50+
" arow = []\n",
51+
" for j in range(len(cp)):\n",
52+
" arow.append(numpy.polyval(pder,cp[j]))\n",
53+
" a.append(arow)\n",
54+
" print(str(arow)+',')\n",
55+
"print(']')"
56+
]
57+
}
58+
],
59+
"metadata": {
60+
"kernelspec": {
61+
"display_name": ".venv",
62+
"language": "python",
63+
"name": "python3"
64+
},
65+
"language_info": {
66+
"codemirror_mode": {
67+
"name": "ipython",
68+
"version": 3
69+
},
70+
"file_extension": ".py",
71+
"mimetype": "text/x-python",
72+
"name": "python",
73+
"nbconvert_exporter": "python",
74+
"pygments_lexer": "ipython3",
75+
"version": "3.11.5"
76+
}
77+
},
78+
"nbformat": 4,
79+
"nbformat_minor": 2
80+
}

0 commit comments

Comments
 (0)