Commit 2444d58
Fix problem with polytope sampler (#1341)
Summary:
## Motivation
As discussed in issue #1225, the polytope sampler runs into problems if the variables live in different dimensions. This PR fixes the issue using the approach mentioned in the issue above.
### Have you read the [Contributing Guidelines on pull requests](https://github.com/pytorch/botorch/blob/main/CONTRIBUTING.md#pull-requests)?
Yes
Pull Request resolved: #1341
Test Plan: Unit tests
Reviewed By: esantorella
Differential Revision: D38485035
Pulled By: Balandat
fbshipit-source-id: 8e6ed1c1b81f636d108becb1ab5cf2ca132944201 parent 2829e2a commit 2444d58
File tree
3 files changed
+62
-8
lines changed- botorch/utils
- test
- optim
- utils
3 files changed
+62
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
833 | 857 | | |
834 | 858 | | |
835 | 859 | | |
| |||
865 | 889 | | |
866 | 890 | | |
867 | 891 | | |
| 892 | + | |
| 893 | + | |
868 | 894 | | |
869 | 895 | | |
870 | | - | |
| 896 | + | |
871 | 897 | | |
872 | 898 | | |
873 | 899 | | |
| |||
876 | 902 | | |
877 | 903 | | |
878 | 904 | | |
| 905 | + | |
| 906 | + | |
879 | 907 | | |
880 | 908 | | |
881 | | - | |
| 909 | + | |
882 | 910 | | |
883 | 911 | | |
884 | 912 | | |
| 913 | + | |
| 914 | + | |
885 | 915 | | |
| 916 | + | |
886 | 917 | | |
887 | | - | |
888 | 918 | | |
889 | 919 | | |
890 | 920 | | |
891 | | - | |
| 921 | + | |
| 922 | + | |
892 | 923 | | |
893 | 924 | | |
894 | 925 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
292 | 315 | | |
293 | 316 | | |
294 | 317 | | |
| |||
318 | 341 | | |
319 | 342 | | |
320 | 343 | | |
321 | | - | |
| 344 | + | |
322 | 345 | | |
323 | 346 | | |
324 | 347 | | |
325 | 348 | | |
326 | 349 | | |
327 | 350 | | |
328 | | - | |
| 351 | + | |
329 | 352 | | |
330 | 353 | | |
331 | 354 | | |
| |||
0 commit comments