{"id":23691024,"url":"https://github.com/underyourspell/knapsackgo","last_synced_at":"2025-09-06T09:35:42.531Z","repository":{"id":268613002,"uuid":"904931029","full_name":"UnderYourSpell/knapsackgo","owner":"UnderYourSpell","description":"Implementation of the Genetic Algorithm on the Knapsack Problem in Go","archived":false,"fork":false,"pushed_at":"2024-12-17T20:36:47.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-22T08:24:59.811Z","etag":null,"topics":["genetic-algorithm","go","golang","knapsack-problem","np-complete"],"latest_commit_sha":null,"homepage":"","language":"Go","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/UnderYourSpell.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":"2024-12-17T20:32:35.000Z","updated_at":"2024-12-25T09:24:18.000Z","dependencies_parsed_at":"2024-12-17T21:31:46.783Z","dependency_job_id":"09de1f6f-39ef-43a0-99e4-a8e41349226a","html_url":"https://github.com/UnderYourSpell/knapsackgo","commit_stats":null,"previous_names":["underyourspell/knapsackgo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/UnderYourSpell/knapsackgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnderYourSpell%2Fknapsackgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnderYourSpell%2Fknapsackgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnderYourSpell%2Fknapsackgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnderYourSpell%2Fknapsackgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnderYourSpell","download_url":"https://codeload.github.com/UnderYourSpell/knapsackgo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnderYourSpell%2Fknapsackgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273886619,"owners_count":25185506,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["genetic-algorithm","go","golang","knapsack-problem","np-complete"],"created_at":"2024-12-30T02:53:55.148Z","updated_at":"2025-09-06T09:35:42.473Z","avatar_url":"https://github.com/UnderYourSpell.png","language":"Go","readme":"## The Knapsack NP-Complete Problem in Go\nIn other work studying the Traveling Salesman Problem as well as the Knapsack Problem, my implementations have been in C++.\n\nI wanted to see how feasible I can implement these problems in Go, which is a language I have 0 experience in.\nIt seemed like an interesting language; so I thought it would be cool to write the Geneteic Algorithm (GA) with it.\n\nThis code attempts to replicate my code in C++ for the Knapsack NP-Complete problem with the GA.\n\nMy results were not great, but I spent much less time with this problem than the TSP. But I had fun writing it!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funderyourspell%2Fknapsackgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funderyourspell%2Fknapsackgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funderyourspell%2Fknapsackgo/lists"}