Skip to content

Instantly share code, notes, and snippets.

@thunderInfy
Last active October 9, 2019 16:02
Show Gist options
  • Save thunderInfy/fff6440ce3d2650b4f13e5a45beeeab8 to your computer and use it in GitHub Desktop.
Save thunderInfy/fff6440ce3d2650b4f13e5a45beeeab8 to your computer and use it in GitHub Desktop.
#IMPORTS
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from scipy.stats import poisson
import sys
#Problem Parameters
class jcp:
@staticmethod
def max_cars():
return 20
@staticmethod
def γ():
return 0.9
@staticmethod
def credit_reward():
return 10
@staticmethod
def moving_reward():
return -2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment