I hereby claim:
- I am gajjanag on github.
- I am gajjanag (https://keybase.io/gajjanag) on keybase.
- I have a public key whose fingerprint is C96A 848E 97C3 CEA2 AB72 5CE4 45F9 6A2D 3C36 FB1B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# GENERATED BY SCRIPT, DO NOT EDIT!!! | |
using JuMP | |
using MathProgBase | |
using Ipopt | |
using Distributions | |
# Uniformly random (over the simplex) discrete probability measure over dims | |
function rand_measure(dims::Integer...,) | |
prob_vec = zeros(dims) | |
return rand_measure!(prob_vec) |