Coder Social home page Coder Social logo

ru-automated-reasoning-group / vrl_codereview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zikangxiong/vrl_codereview

0.0 1.0 1.0 664.46 MB

PLDI 19' An Indutive Synthesis Framework for Verifiable Reinforcement Learning

License: MIT License

Python 99.32% Shell 0.68%

vrl_codereview's Introduction

VRL

VRL is a toolbox for verification in reinforcement learning systems.

Install

Require Python2.7 and usual python packages such as numpy, scipy, matplotlib, ...

pip install:

  1. pip install tensorflow
  2. pip install tflearn
  3. pip install numba .

Install Z3:

  1. From https://github.com/Z3Prover/z3/releases, download Z3 binary.
  2. export PYTHONPATH=PATH_UNPACK_Z3/z3/bin/: .

Install Julia-0.6

  1. Download Julia-0.6 from https://julialang.org/downloads/oldreleases.html.
  2. export PATH="$PATH:PATH_UNPACK_JULIA/julia/bin"

Install SumOfSqure tool:

Download and licsence the Mosek solver

  • Download the MAC OS 64bit x86 MOSEK Optimization Suite distribution from https://mosek.com/downloads/ and unpack it into a chosen directory.

  • For MAC, run the command:

python <MSKHOME>/mosek/8/tools/platform/osx64x86/bin/install.py
where <MSKHOME> is the directory where MOSEK was installed. This will set up the appropriate shared objects required when using MOSEK.

  • Add the path <MSKHOME>/mosek/8/tools/platform/osx64x86/bin to the OS variable PATH.

  • License the tool.

Configure Julia

  1. Enter Julia command line.

  2. Enter following commands:

julia> Pkg.status()  

julia> Pkg.add("SumOfSquares")
julia> Pkg.status("SumOfSquares")
SumOfSquares 0.2.0

julia> Pkg.status("JuMP")
JuMP 0.18.2

julia> Pkg.add("MathOptInterface")
julia> Pkg.add("DynamicPolynomials")
julia> Pkg.add("SCS")
julia> Pkg.add("MathOptInterfaceMosek")
julia> Pkg.add("Clp") 

vrl_codereview's People

Contributors

rowangithub avatar

Watchers

 avatar

Forkers

jiekeshi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.