{"id":17817634,"url":"https://github.com/codelixir/linear-programming","last_synced_at":"2025-04-02T09:13:54.047Z","repository":{"id":233798052,"uuid":"365518854","full_name":"codelixir/linear-programming","owner":"codelixir","description":"Understanding Markov Decision Processes using Mathematical Programming. For MDL course, Spring 2021.","archived":false,"fork":false,"pushed_at":"2021-05-08T13:20:10.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T00:19:16.892Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codelixir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-08T13:17:03.000Z","updated_at":"2021-05-08T13:20:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"d387a4e5-9700-4ecf-9b7c-04f18b397ab0","html_url":"https://github.com/codelixir/linear-programming","commit_stats":null,"previous_names":["codelixir/linear-programming"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelixir%2Flinear-programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelixir%2Flinear-programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelixir%2Flinear-programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelixir%2Flinear-programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codelixir","download_url":"https://codeload.github.com/codelixir/linear-programming/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246785453,"owners_count":20833494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-27T16:44:37.743Z","updated_at":"2025-04-02T09:13:54.022Z","avatar_url":"https://github.com/codelixir.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![forthebadge](https://forthebadge.com/images/badges/it-works-why.svg)](https://forthebadge.com)\n\nThis project uses the **cvxpy** library to solve the optimization problem. \\\nYou can [read the official documentation here](https://www.cvxpy.org/).\n\n#### Contributors\n[Dhruvee Birla](https://github.com/dhruvxx) and myself.\n\nThis assignment was done as a part of the Machine, Data and Learning course, Spring 2021.\n\n---\n\n# Linear Programming\n\nThe goal of this exercise is to understand Markov Decision Processes using Mathematical Programming.\n\nHere, we work on the same MDP problem as used in the [value iteration](https://github.com/codelixir/value-iteration/) exercise, with one change:\nWhen MM’s health reaches 0, IJ quest finished but gets zero reward. All other costs and rewards are the same.\n\nIn this exercise, we formulate the problem a LP and solve it. The main logic is there in the [notebook](https://github.com/codelixir/linear-programming/blob/main/linearprog.ipynb), and the [script](https://github.com/codelixir/linear-programming/blob/main/code.py) generates the [output](https://github.com/codelixir/linear-programming/blob/main/report/output.json). The approach, observations and conclusions have been summarised in the [report](https://github.com/codelixir/linear-programming/tree/main/report).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodelixir%2Flinear-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodelixir%2Flinear-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodelixir%2Flinear-programming/lists"}