This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for open-mpi on 4.18.5-arch1-1-ARCH | |
Build date: 2018-10-05 07:52:32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for open-mpi on 4.18.5-arch1-1-ARCH | |
Build date: 2018-10-04 11:33:36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from gurobipy import * | |
m = Model("minex") | |
x = m.addVar(name="x", vtype=GRB.CONTINUOUS, lb=0.0) | |
y = m.addVar(name="y", vtype=GRB.CONTINUOUS, lb=0.0) | |
m.setObjective(0.0 * x, GRB.MINIMIZE) | |
m.addConstr(y >= 2, "c0") | |
m.addConstr(x <= 1, "c1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Academic license - for non-commercial use only | |
Optimize a model with 2 rows, 2 columns and 2 nonzeros | |
Model has 1 quadratic constraint | |
Coefficient statistics: | |
Matrix range [1e+00, 1e+00] | |
QMatrix range [1e+00, 1e+00] | |
Objective range [0e+00, 0e+00] | |
Bounds range [0e+00, 0e+00] | |
RHS range [1e+00, 2e+00] | |
Presolve removed 2 rows and 2 columns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1/2 + 4685/9370 = 1 | |
1/2 + 4865/9730 = 1 | |
1/2 + 3485/6970 = 1 | |
1/2 + 3548/7096 = 1 | |
1/2 + 3845/7690 = 1 | |
1/2 + 4538/9076 = 1 | |
1/2 + 4835/9670 = 1 | |
1/2 + 4853/9706 = 1 | |
1/4 + 7365/9820 = 1 | |
2/4 + 3079/6158 = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using BenchmarkTools, Plots | |
function bench() | |
N = 20 | |
T1 = zeros(N, 3) | |
T2 = zeros(N, 3) | |
for i = 1:N | |
n = 2^i | |
println("Running for $n") | |
x = rand(n) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using BenchmarkTools, Plots | |
function foo() | |
N = 20 | |
T1 = zeros(N, 3) | |
T2 = zeros(N, 3) | |
for i = 1:N | |
n = 2^i | |
println("Running for $n") | |
x = rand(n) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using BenchmarkTools | |
using CUTEst | |
using NLPModels | |
function nlpsolver(nlp; itmax=100000, eta=1e-4, eps=1e-6, sigma=0.66) | |
if !unconstrained(nlp) | |
error("Problem is not unconstrained") | |
end | |
f(x) = obj(nlp, x) | |
∇f(x) = grad(nlp, x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HILBERTA | |
HIMMELBB | |
SISSER | |
SINEVAL | |
HAIRY | |
MARATOSB | |
HIMMELBG | |
DENSCHNF | |
HIMMELBH | |
ZANGWIL2 |