{"id":17930942,"url":"https://github.com/lovasoa/c-osi","last_synced_at":"2025-04-03T10:24:39.401Z","repository":{"id":66344138,"uuid":"350317326","full_name":"lovasoa/c-osi","owner":"lovasoa","description":"C interface to Open Solver Interface solvers for easy integration with external solvers","archived":false,"fork":false,"pushed_at":"2021-03-29T08:22:21.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-08T23:45:37.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lovasoa.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-22T11:27:09.000Z","updated_at":"2022-02-18T08:26:31.000Z","dependencies_parsed_at":"2023-05-16T07:15:48.741Z","dependency_job_id":null,"html_url":"https://github.com/lovasoa/c-osi","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fc-osi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fc-osi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fc-osi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasoa%2Fc-osi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasoa","download_url":"https://codeload.github.com/lovasoa/c-osi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246982474,"owners_count":20864097,"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-28T21:18:42.847Z","updated_at":"2025-04-03T10:24:39.368Z","avatar_url":"https://github.com/lovasoa.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Osi-c\n\nA C interface for the [Open Solver Interface](https://github.com/coin-or/Osi#osi).\n\nThis project builds a well-defined C API ([`osi.h`](./osi.h)) that you can build against\nwithout having to link your program with any particular solver.\n\nThis has two main advantages:\n - You can build a solver-independent executable,\n   then switch solvers at runtime by switching the dynamic library (`.so` or `.dll`) you use.\n   For instance, you can build your program without access to a proprietary solver, and then\n   let people use it with proprietary solvers if they have access to one.\n - This makes it easy to interact with Osi solvers from languages other than C++.\n   Osi is defined as a C++ abstract class,\n   and this makes it hard to interact with it from languages other than C++.\n   Having a single dynamic library with a plain C interface makes it possible to use \n   the solvers from any language that has a\n   [C Foreign Function Interface](https://en.wikipedia.org/wiki/Foreign_function_interface),\n   such as Java, Go, Python, Rust, and many others.\n   \n## Usage\n\nFor an usage example, see [`example.c`](./example.c).\n\n## Downloads\n\nYou can download pre-compiled dynamic solver libraries for linux\nfrom the \n[release page](https://github.com/lovasoa/c-osi/releases).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasoa%2Fc-osi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovasoa%2Fc-osi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasoa%2Fc-osi/lists"}