I hereby claim:
- I am leethargo on github.
- I am leethargo (https://keybase.io/leethargo) on keybase.
- I have a public key is ASDYdYeOdpu-m35lXs6AfAkhGqII2zaAcrWGnGhFdaGJMwo
To claim this, I am signing this object:
'''We solve the Zebra Puzzle with the help of a MIP model and SCIP''' | |
from zibopt import scip | |
# see https://en.wikipedia.org/wiki/Zebra_Puzzle | |
houses = range(5) | |
nations = ['England', 'Japan', 'Norway', 'Spain', 'Ukraine'] | |
pets = ['dog', 'fox', 'horse', 'snails', 'zebra'] | |
drinks = ['coffee', 'milk', 'orange juice', 'tea', 'water'] | |
colors = ['blue', 'green', 'ivory', 'red', 'yellow'] |
I hereby claim:
To claim this, I am signing this object:
using LightGraphs
function incidence_matrix_edges(g::SimpleGraph, T::DataType=Int)
n_v = nv(g)
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by ThirdPartyLapack configure 1.5.2, which was | |
generated by GNU Autoconf 2.59. Invocation command line was | |
$ ../configure --prefix=/home/rs/.julia/v0.4/Ipopt/deps/usr --disable-shared --with-pic | |
## --------- ## | |
## Platform. ## |
julia> Pkg.build("Ipopt") | |
INFO: Building Ipopt | |
INFO: Attempting to Create directory /home/rs/.julia/v0.4/Ipopt/deps/downloads | |
INFO: Directory /home/rs/.julia/v0.4/Ipopt/deps/downloads already created | |
INFO: Downloading file http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.1.tgz | |
INFO: Done downloading file http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.1.tgz | |
INFO: Attempting to Create directory /home/rs/.julia/v0.4/Ipopt/deps/src | |
INFO: Directory /home/rs/.julia/v0.4/Ipopt/deps/src already created | |
INFO: Attempting to Create directory /home/rs/.julia/v0.4/Ipopt/deps | |
INFO: Directory /home/rs/.julia/v0.4/Ipopt/deps already created |
{ | |
"nodes": [ | |
{ | |
"x": 36.0, | |
"y": 72.0 | |
}, | |
{ | |
"x": 90.0, | |
"y": 90.0 | |
}, |
using JuMP | |
using Cbc | |
using SCIP | |
function leaky(solver, d) | |
m = Model(solver=solver) | |
@variable(m, x[1:d] >= 0) | |
solve(m) | |
end |
run once to warm up. | |
force garbage collection. | |
run once to warm up (again). | |
force garbage collection. | |
-- calling CSIPfreeModel -- 0 mem used | |
run 3x | |
force garbage collection. | |
-- calling CSIPfreeModel -- 0 mem used | |
-- calling CSIPfreeModel -- 19043000 mem used | |
-- calling CSIPfreeModel -- 9521500 mem used |