Skip to content

Instantly share code, notes, and snippets.

Daisuke Oyama oyamad

Block or report user

Report or block oyamad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@oyamad
oyamad / nashsolve_lldb.md
Last active Jan 23, 2019
lldb output for `LRSLib.nashsolve(filename1, filename2)`
View nashsolve_lldb.md
$ lldb /Users/oyama/src/julia/usr/bin/julia-debug
(lldb) target create "/Users/oyama/src/julia/usr/bin/julia-debug"
warning: (x86_64) /Users/oyama/src/julia/usr/lib/libLLVM.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
Current executable set to '/Users/oyama/src/julia/usr/bin/julia-debug' (x86_64).
(lldb) run
Process 71244 launched: '/Users/oyama/src/julia/usr/bin/julia-debug' (x86_64)
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
@oyamad
oyamad / equilateral_subdiv.ipynb
Last active Jul 5, 2018
Plot Sperner labellings with matplotlib
View equilateral_subdiv.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oyamad
oyamad / Using a class to define functions with numba Updated.ipynb
Created Apr 28, 2018
Passing a jitted function to another jitted function as an argument
View Using a class to define functions with numba Updated.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oyamad
oyamad / bmgen_jl_perf.ipynb
Last active Feb 14, 2018
Timing for bimatrix_generators
View bmgen_jl_perf.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oyamad
oyamad / Kreps6_2.ipynb
Last active Jun 13, 2017
Numerical solution to Exercise 6.2 in Kreps
View Kreps6_2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oyamad
oyamad / board0.jl
Last active Dec 2, 2016
Errors with LRSLib
View board0.jl
# https://github.com/oyamad/LRSLib.jl/commit/cae37b5caddf3cd8855e000d575dcc03b51dce12
using LRSLib
using Polyhedra
A1 = -eye(Int, 9) # x >= 0;
b1 = zeros(Int, 9);
A2 = eye(Int, 9) # x <= 1;
b2 = ones(Int, 9);
A3 = zeros(Int, 9, 9);
b3 = 3 * ones(Int, 9);
View lrs_output.txt
*lrs:lrslib v.6.1 2015.11.20(lrsgmp.h gmp v.6.1)
*Copyright (C) 1995,2015, David Avis avis@cs.mcgill.ca
*Input taken from file /Users/oyama/tmp/board.ine
V-representation
begin
***** 10 rational
1 3/4 3/4 3/4 3/4 3/4 3/4 3/4 3/4 3/4
1 1/2 1/2 1 1/2 1/2 1 1 1 1/2
1 1 1/2 1 0 1/2 1 0 1 1/2
1 0 1/2 1 0 1/2 1 0 1 1/2
@oyamad
oyamad / test_LRSLib.ipynb
Last active Dec 2, 2016
LRSLib test failure
View test_LRSLib.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oyamad
oyamad / build_CDDLib.ipynb
Last active Nov 18, 2016
CDDLib build failure
View build_CDDLib.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ddp_solve_lp_py01.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.