{"id":22894220,"url":"https://github.com/zib-iol/optimaldesignwithboscia","last_synced_at":"2026-03-19T23:55:17.791Z","repository":{"id":221890180,"uuid":"755133889","full_name":"ZIB-IOL/OptimalDesignWithBoscia","owner":"ZIB-IOL","description":"Solving the Exact Optimal Experiment Design Problem using the convex mixed-integer solver Boscia.jl","archived":false,"fork":false,"pushed_at":"2024-11-08T16:49:10.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T01:32:06.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Julia","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/ZIB-IOL.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-02-09T13:46:51.000Z","updated_at":"2024-05-21T08:39:48.000Z","dependencies_parsed_at":"2024-02-10T21:24:45.195Z","dependency_job_id":"5fb1d6b3-ec0f-424d-aa4c-309b4c4eaaa8","html_url":"https://github.com/ZIB-IOL/OptimalDesignWithBoscia","commit_stats":null,"previous_names":["zib-iol/optimaldesignwithboscia"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZIB-IOL%2FOptimalDesignWithBoscia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZIB-IOL%2FOptimalDesignWithBoscia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZIB-IOL%2FOptimalDesignWithBoscia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZIB-IOL%2FOptimalDesignWithBoscia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZIB-IOL","download_url":"https://codeload.github.com/ZIB-IOL/OptimalDesignWithBoscia/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552972,"owners_count":20795835,"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-12-13T23:17:14.226Z","updated_at":"2026-01-08T16:53:25.457Z","avatar_url":"https://github.com/ZIB-IOL.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Optimal Experiment Design with Boscia\n\nThe repository for the \"Solving the Optimal Experiment Design Problem with Mixed-Integer Convex Methods\" [paper](https://arxiv.org/abs/2312.11200).\n\nThe experiment scripts are in the ODWB folder. The models and set-ups for the different solvers can be found in the source folder in the ODWB folder. \n\nThe models and solvers tested are [Boscia.jl](https://github.com/ZIB-IOL/Boscia.jl) with the classical problem formulation, [SCIP.jl](https://github.com/scipopt/SCIP.jl) using the epigraph formulation, [Pajarito.jl](https://github.com/jump-dev/Pajarito.jl) implementing the direct conic model and a custom solver based from this [paper](https://link.springer.com/article/10.1007/s11222-021-10043-5)\n\nThe experiments are set up to be run on the cluster of the Zuse Institute Berlin. If you want to test instances of one dimension with a specific solver, you can use Julia's environmental variables and call the ```run_optimal_design.jl``` file directly.\n\n```\nusing ODWB\n\n# This sets the solver. Option are \"Boscia\", \"SCIP\", \"Pajarito\" and \"Custom\".\nENV[\"MODE\"] = \"Boscia\"\n# Set the criterion. Options are \"A\", \"D\" for the A-Optimal Design and D-Optimal Design, respectively.\n# \"AF\" and \"DF\" are for the A-Fusion and D-Fusion. \nENV[\"CRITERION\"] = \"D\"\n# This decides the data type, so independent (\"IND\") or correlated data (\"CORR\"). \nENV[\"TYPE\"] = \"CORR\"\n# Sets the dimension of the problem.\nENV[\"DIMENSION\"] = \"100\"\n\ninclude(\"run_optimal_design.jl\")\n```\n\nFor individual instances, you can call the solvers directly.\n\n```\nusing ODWB\n\nseed = 1\nm = 100\nn = 10\ncriterion = \"D\"\ntime_limit = 3600 # 1 hour\ncorr = true # this create correlated data, if false, it will create independent data.\n\n# Boscia\nODWB.solve_opt(seed, m, n, time_limit, criterion,corr)\n\n# SCIP\nif criterion in [\"A\", \"D\"]\n    error(\"SCIP OA does not work with the optimal problems!\")\nend\nODWB.solve_opt_scip(seed, m, n, time_limit, criterion, corr)\n\n# Pajarito\nODWB.solve_opt_pajarito(seed, m, n, time_limit, criterion, corr)\n\n# Custom\nODWB.solve_opt_custom(seed, m, n, time_limit, criterion, corr)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzib-iol%2Foptimaldesignwithboscia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzib-iol%2Foptimaldesignwithboscia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzib-iol%2Foptimaldesignwithboscia/lists"}