{"id":32178216,"url":"https://github.com/chandu-atina/lp_solve_python_3x","last_synced_at":"2026-03-09T17:13:56.302Z","repository":{"id":42214274,"uuid":"42579732","full_name":"chandu-atina/lp_solve_python_3x","owner":"chandu-atina","description":"lpsolve python extension for python 2.x and python 3.x. The lpsolve extension is ported to python3.x so that it works on both python2.x and python3.x. ","archived":false,"fork":false,"pushed_at":"2020-01-21T14:13:55.000Z","size":639,"stargazers_count":8,"open_issues_count":2,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-21T20:51:53.508Z","etag":null,"topics":["lpsolve","lpsolve-extension","lpsolve-python","porting-to-python3"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chandu-atina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-16T10:07:57.000Z","updated_at":"2024-08-12T09:16:03.000Z","dependencies_parsed_at":"2022-09-23T21:10:35.106Z","dependency_job_id":null,"html_url":"https://github.com/chandu-atina/lp_solve_python_3x","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chandu-atina/lp_solve_python_3x","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandu-atina%2Flp_solve_python_3x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandu-atina%2Flp_solve_python_3x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandu-atina%2Flp_solve_python_3x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandu-atina%2Flp_solve_python_3x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chandu-atina","download_url":"https://codeload.github.com/chandu-atina/lp_solve_python_3x/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandu-atina%2Flp_solve_python_3x/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30304036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["lpsolve","lpsolve-extension","lpsolve-python","porting-to-python3"],"created_at":"2025-10-21T20:51:29.441Z","updated_at":"2026-03-09T17:13:56.294Z","avatar_url":"https://github.com/chandu-atina.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lp_solve_python_3x\nlpsolve python extension for python 2.x and python 3.x. The lpsolve extension is ported to python3.x so that it works on both python2.x and python3.x. \n\nThis project is a rework on lpsolve python 5.5.2.0 from http://sourceforge.net/projects/lpsolve/files/lpsolve/5.5.2.0/lp_solve_5.5.2.0_Python_source.tar.gz/download. The lpsolve avaialble in official site is not compatible with python3.x. \n\nThere are two options to use lpsolve on Python3.x\n# Quick Use\n1) Download tar ball [\"lpsolve55-5.5.0.9.linux-x86_64.tar.gz\"] (https://github.com/chandu-atina/lp_solve_python_3x/raw/master/extra/Python/dist_python3.4/lpsolve_python3.4.tar.gz) under lp_solve_python_3x/extra/Python/dist_python3.4/\" which is built on ubuntu14.04 64-bit machine using Python 3.4.0\n\n2) Extract the files and copy the files under \"site-packages/\" to local python site-packages folder. \n\n# Build from sources\n1) Download lpsolve source code [lp_solve_5.5.2.0_source.tar.gz](http://sourceforge.net/projects/lpsolve/files/lpsolve/5.5.2.0/lp_solve_5.5.2.0_source.tar.gz/download)\n\n2) Extract the archive and copy extra/Python folder into lp_solve_5.5\n\n3) cd lp_solve_5.5/lpsolve55 and execute following command\n\n        $ sh ccc (on linux)\n        $ sh ccc.osx (on Mac)\n    Refer to readme.txt under same folder for more information (lp_solve_5.5/lpsolve55/).\n\n3) cd lp_solve_5.5/extra/Python/\n\n4) change lpsolve55 path in extra/Pythpn/setup.py to point to appropriate directory.\n    \n        LPSOLVE55 = '../../lpsolve55/bin/ux64'  #change path to reflect appropriate path.\n\u003e Note: In my case, I used linux 64 bit machine so folder 'bin/ux64/' created under lpsolve55 directory when executed \"sh ccc\" command from terminal. The folder contains the lpsolve library files. The LPSOLVE55 path in setup.py should point to the newly generated directory which contains the required lpsolve libraries(liblpsolve55.a).\n\n5) Use following command to install lpsolve extension into site-packages.\n    \n        $python setup.py install\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandu-atina%2Flp_solve_python_3x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchandu-atina%2Flp_solve_python_3x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandu-atina%2Flp_solve_python_3x/lists"}