diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d75e5f7..4d132709 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,47 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p Please see [here](https://github.com/hrntsm/Tunny/releases) for the data released for each version. +## [0.5.0] -2022-09-03 + +### Added + +- Hypervolume visualization + - It is useful for determining convergence in multi-objective optimization. +- Clustering visualization + - Clustering of results during multi-objective optimization makes it easier to evaluate solutions. +- BoTorch Sampler + - This sampler use Gaussian Process and support multi-objective optimization. +- Quasi-MonteCarlo Sampler + - [Detail](https://optuna.readthedocs.io/en/latest/reference/samplers/generated/optuna.samplers.QMCSampler.html) about this sampler. +- Support Constraint. + - Only TPE, GP, NSGAII can use constraint. +- Sampler detail settings UI + - Previously it was necessary to change the JSON file of the settings, but now it can be changed in the UI +- Enable Text Bake in the FishMarket component. +- Allows selection of NSGA-II crossover methods. + - `Uniform`, `BLXAlpha`, `SPX`, `SBX`, `VSBX`, `UNDX` +- Ability to set Popsize on CMA-ES restart +- Run GC after trial when has geometry attribute or setting always run. + - **This change probably make optimize slower before** + - If you want to cut this setting, set the value of "GcAfterTrial" to 2 in Settings.json. +- Show LICENSE button in Tunny UI. + +### Changed + +- When genepool is an input, it now creates variable names using nicknames. +- The output of the Pareto solution was made to consider the constraints. +- Multivariate in TPE sampler default option is false to true +- Updated Optuna used to v3.0.0 + - Use `suggest_int` and `suggest_float` instead of `suggest_uniform` for more accurate variable generation in optimization + - Random and Grid samplers now support multi-objective optimization + - The format of the db file in which the results are saved has changed. Please note that it is not compatible with the previous one. + +### Fixed + +- The PythonInstaller window now has no text on the progress bar. +- When more than one Study exists, another Study Name is set and RunOpt no longer causes a Solver Error. +- The error does not occur when the Brep of Geometry of Attribute is null. + ## [0.4.0] -2022-07-09 ### Added @@ -54,7 +95,7 @@ Please see [here](https://github.com/hrntsm/Tunny/releases) for the data release - Use json to set sampler detail settings - Since the settings are saved in Json, the previous values set in the UI remain saved when the window is closed and reopened. -- UI for above detail settings +- UI for above detail settings - If input "-10" in restore model number, Tunny output all result - Fish component - Special GH_Param component for Tunny result to handle its result easier. diff --git a/PYTHON_PACKAGE_LICENSES b/PYTHON_PACKAGE_LICENSES index 46c4ee7c..f58d1908 100644 --- a/PYTHON_PACKAGE_LICENSES +++ b/PYTHON_PACKAGE_LICENSES @@ -1,980 +1,579 @@ +---------------------------------------------------------------------------------------------------- + Some distributions of this package include a copy of the C Python dlls and standard library, which are covered by the Python license. https://docs.python.org/3/license.html +---------------------------------------------------------------------------------------------------- -autopage -0.5.1 -Apache Software License -Zane Bitter -https://github.com/zaneb/autopage -A library to provide automatic paging for console output +Mako +1.2.0 +MIT License +https://www.makotemplates.org/ +Copyright 2006-2021 the Mako authors and contributors . - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +MarkupSafe +2.1.1 +BSD License +https://palletsprojects.com/p/markupsafe/ +Copyright 2010 Pallets -cliff -3.10.1 -Apache Software License -OpenStack -https://docs.openstack.org/cliff/latest/ -Command Line Interface Formulation Framework +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. - Copyright [yyyy] [name of copyright owner] +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at +PyYAML +6.0 +MIT License +https://pyyaml.org/ +Copyright (c) 2017-2021 Ingy döt Net +Copyright (c) 2006-2016 Kirill Simonov - http://www.apache.org/licenses/LICENSE-2.0 +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -pbr -5.9.0 -Apache Software License -OpenStack -https://docs.openstack.org/pbr/latest/ -Python Build Reasonableness +SQLAlchemy +1.4.39 +MIT License +https://www.sqlalchemy.org +Copyright 2005-2022 SQLAlchemy authors and contributors . - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +alembic +1.8.0 +MIT License +https://alembic.sqlalchemy.org +Copyright 2009-2022 Michael Bayer. -stevedore -3.5.0 +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +attrs +21.4.0 +MIT License +https://www.attrs.org/ +The MIT License (MIT) + +Copyright (c) 2015 Hynek Schlawack + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +autopage +0.5.1 Apache Software License -OpenStack -https://docs.openstack.org/stevedore/latest/ -Manage dynamic plugins for Python applications +https://github.com/zaneb/autopage Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +botorch +0.6.5 +MIT License +https://botorch.org +MIT License + +Copyright (c) Meta Platforms, Inc. and affiliates. - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - Copyright [yyyy] [name of copyright owner] +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at +bottle +0.12.21 +MIT License +http://bottlepy.org/ +Copyright (c) 2012, Marcel Hellkamp. - http://www.apache.org/licenses/LICENSE-2.0 +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. -tenacity -8.0.1 +cliff +3.10.1 Apache Software License -Julien Danjou -https://github.com/jd/tenacity -Retry code until it succeeds +https://docs.openstack.org/cliff/latest/ Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" @@ -985,87 +584,90 @@ Retry code until it succeeds same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] +Copyright [yyyy] [name of copyright owner] - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. -packaging -21.3 -Apache Software License; BSD License -Donald Stufft and individual contributors -https://github.com/pypa/packaging -Core utilities for Python packages -This software is made available under the terms of *either* of the licenses -found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made -under the terms of *both* these licenses. +cmaes +0.8.2 +MIT License +https://github.com/CyberAgent/cmaes +MIT License +Copyright (c) 2020-2021 CyberAgent, Inc. -MarkupSafe -2.1.1 -BSD License -Armin Ronacher -https://palletsprojects.com/p/markupsafe/ -Safely add untrusted strings to HTML/XML markup. -Copyright 2010 Pallets +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. +cmd2 +2.4.1 +MIT License +https://github.com/python-cmd2/cmd2 +The MIT License (MIT) -3. Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. +Copyright (c) 2008-2022 Catherine Devlin and others -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. colorama 0.4.5 BSD License -Jonathan Hartley https://github.com/tartley/colorama -Cross-platform colored terminal text. Copyright (c) 2010 Jonathan Hartley All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -* Redistributions of source code must retain the above copyright notice, this +- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, +- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -* Neither the name of the copyright holders, nor those of its contributors +- Neither the name of the copyright holders, nor those of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @@ -1080,13 +682,96 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +colorlog +6.6.0 +MIT License +https://github.com/borntyping/python-colorlog +The MIT License (MIT) + +Copyright (c) 2012-2021 Sam Clements + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +gpytorch +1.8.0 +MIT +https://gpytorch.ai +MIT License + +Copyright (c) 2017 Jake Gardner + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +greenlet +1.1.2 +MIT License +https://greenlet.readthedocs.io/ +The following files are derived from Stackless Python and are subject to the +same license as Stackless Python: + + src/greenlet/slp_platformselect.h + files in src/greenlet/platform/ directory + +See LICENSE.PSF and http://www.stackless.com/ for details. + +Unless otherwise noted, the files in greenlet have been released under the +following MIT license: + +Copyright (c) Armin Rigo, Christian Tismer and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. joblib 1.1.0 BSD License -Gael Varoquaux https://joblib.readthedocs.io -Lightweight pipelining with Python functions BSD 3-Clause License Copyright (c) 2008-2021, The joblib developers. @@ -1095,14 +780,14 @@ All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -* Redistributions of source code must retain the above copyright notice, this +- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, +- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -* Neither the name of the copyright holder nor the names of its +- Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @@ -1117,13 +802,16 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +multipledispatch +0.6.0 +BSD +http://github.com/mrocklin/multipledispatch/ +UNKNOWN numpy 1.23.0 BSD License -Travis E. Oliphant et al. https://www.numpy.org -NumPy is the fundamental package for array computing with Python. Copyright (c) 2005-2022, NumPy Developers. All rights reserved. @@ -1155,22 +843,21 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ----- +--- This binary distribution of NumPy also bundles the following software: - Name: OpenBLAS -Files: extra-dll\libopenb*.dll +Files: extra-dll\libopenb\*.dll Description: bundled as a dynamically linked library Availability: https://github.com/xianyi/OpenBLAS/ License: 3-clause BSD - Copyright (c) 2011-2014, The OpenBLAS Project - All rights reserved. +Copyright (c) 2011-2014, The OpenBLAS Project +All rights reserved. - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. @@ -1184,164 +871,160 @@ License: 3-clause BSD derived from this software without specific prior written permission. - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Name: LAPACK -Files: extra-dll\libopenb*.dll +Files: extra-dll\libopenb\*.dll Description: bundled in OpenBLAS Availability: https://github.com/xianyi/OpenBLAS/ License 3-clause BSD - Copyright (c) 1992-2013 The University of Tennessee and The University - of Tennessee Research Foundation. All rights - reserved. - Copyright (c) 2000-2013 The University of California Berkeley. All - rights reserved. - Copyright (c) 2006-2013 The University of Colorado Denver. All rights - reserved. +Copyright (c) 1992-2013 The University of Tennessee and The University +of Tennessee Research Foundation. All rights +reserved. +Copyright (c) 2000-2013 The University of California Berkeley. All +rights reserved. +Copyright (c) 2006-2013 The University of Colorado Denver. All rights +reserved. - $COPYRIGHT$ +$COPYRIGHT$ - Additional copyrights may follow +Additional copyrights may follow - $HEADER$ +$HEADER$ - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. +- Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer listed - in this license in the documentation and/or other materials - provided with the distribution. +- Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer listed + in this license in the documentation and/or other materials + provided with the distribution. - - Neither the name of the copyright holders nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. +- Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. - The copyright holders provide no reassurances that the source code - provided does not infringe any patent, copyright, or any other - intellectual property rights of third parties. The copyright holders - disclaim any liability to any recipient for claims brought against - recipient by any third party for infringement of that parties - intellectual property rights. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +The copyright holders provide no reassurances that the source code +provided does not infringe any patent, copyright, or any other +intellectual property rights of third parties. The copyright holders +disclaim any liability to any recipient for claims brought against +recipient by any third party for infringement of that parties +intellectual property rights. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Name: GCC runtime library Files: extra-dll\*.dll Description: statically linked, in DLL files compiled with gfortran only Availability: https://gcc.gnu.org/viewcvs/gcc/ License: GPLv3 + runtime exception - Copyright (C) 2002-2017 Free Software Foundation, Inc. - - Libgfortran is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. +Copyright (C) 2002-2017 Free Software Foundation, Inc. - Libgfortran is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. +Libgfortran is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. - Under Section 7 of GPL version 3, you are granted additional - permissions described in the GCC Runtime Library Exception, version - 3.1, as published by the Free Software Foundation. +Libgfortran is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. - You should have received a copy of the GNU General Public License and - a copy of the GCC Runtime Library Exception along with this program; - see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - . +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. Name: Microsoft Visual C++ Runtime Files Files: extra-dll\msvcp140.dll License: MSVC - https://www.visualstudio.com/license-terms/distributable-code-microsoft-visual-studio-2015-rc-microsoft-visual-studio-2015-sdk-rc-includes-utilities-buildserver-files/#visual-c-runtime +https://www.visualstudio.com/license-terms/distributable-code-microsoft-visual-studio-2015-rc-microsoft-visual-studio-2015-sdk-rc-includes-utilities-buildserver-files/#visual-c-runtime - Subject to the License Terms for the software, you may copy and - distribute with your program any of the files within the followng - folder and its subfolders except as noted below. You may not modify - these files. +Subject to the License Terms for the software, you may copy and +distribute with your program any of the files within the followng +folder and its subfolders except as noted below. You may not modify +these files. C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist - You may not distribute the contents of the following folders: +You may not distribute the contents of the following folders: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist - Subject to the License Terms for the software, you may copy and - distribute the following files with your program in your program’s - application local folder or by deploying them into the Global - Assembly Cache (GAC): - - VC\atlmfc\lib\mfcmifc80.dll - VC\atlmfc\lib\amd64\mfcmifc80.dll +Subject to the License Terms for the software, you may copy and +distribute the following files with your program in your program’s +application local folder or by deploying them into the Global +Assembly Cache (GAC): +VC\atlmfc\lib\mfcmifc80.dll +VC\atlmfc\lib\amd64\mfcmifc80.dll Name: Microsoft Visual C++ Runtime Files Files: extra-dll\msvc*90.dll, extra-dll\Microsoft.VC90.CRT.manifest License: MSVC - For your convenience, we have provided the following folders for - use when redistributing VC++ runtime files. Subject to the license - terms for the software, you may redistribute the folder - (unmodified) in the application local folder as a sub-folder with - no change to the folder name. You may also redistribute all the - files (*.dll and *.manifest) within a folder, listed below the - folder for your convenience, as an entire set. - - \VC\redist\x86\Microsoft.VC90.ATL\ - atl90.dll - Microsoft.VC90.ATL.manifest - \VC\redist\ia64\Microsoft.VC90.ATL\ - atl90.dll - Microsoft.VC90.ATL.manifest - \VC\redist\amd64\Microsoft.VC90.ATL\ - atl90.dll - Microsoft.VC90.ATL.manifest - \VC\redist\x86\Microsoft.VC90.CRT\ - msvcm90.dll - msvcp90.dll - msvcr90.dll - Microsoft.VC90.CRT.manifest - \VC\redist\ia64\Microsoft.VC90.CRT\ - msvcm90.dll - msvcp90.dll - msvcr90.dll - Microsoft.VC90.CRT.manifest - ----- +For your convenience, we have provided the following folders for +use when redistributing VC++ runtime files. Subject to the license +terms for the software, you may redistribute the folder +(unmodified) in the application local folder as a sub-folder with +no change to the folder name. You may also redistribute all the +files (*.dll and \*.manifest) within a folder, listed below the +folder for your convenience, as an entire set. + +\VC\redist\x86\Microsoft.VC90.ATL\ + atl90.dll +Microsoft.VC90.ATL.manifest +\VC\redist\ia64\Microsoft.VC90.ATL\ + atl90.dll +Microsoft.VC90.ATL.manifest +\VC\redist\amd64\Microsoft.VC90.ATL\ + atl90.dll +Microsoft.VC90.ATL.manifest +\VC\redist\x86\Microsoft.VC90.CRT\ + msvcm90.dll +msvcp90.dll +msvcr90.dll +Microsoft.VC90.CRT.manifest +\VC\redist\ia64\Microsoft.VC90.CRT\ + msvcm90.dll +msvcp90.dll +msvcr90.dll +Microsoft.VC90.CRT.manifest + +--- Full text of license texts referred to above follows (that they are listed below does not necessarily imply the conditions apply to the present binary release): ----- +--- GCC RUNTIME LIBRARY EXCEPTION @@ -1416,195 +1099,195 @@ The availability of this Exception does not imply any general presumption that third-party software is unaffected by the copyleft requirements of the license of GCC. ----- +--- GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. +Copyright (C) 2007 Free Software Foundation, Inc. +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. Preamble - The GNU General Public License is a free, copyleft license for +The GNU General Public License is a free, copyleft license for software and other kinds of works. - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, +The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the +software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to +any other work released this way by its authors. You can apply it to your programs, too. - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have +To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. - For example, if you distribute copies of such a program, whether +For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they know their rights. - Developers that use the GNU GPL protect your rights with two steps: +Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and +For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. - Some devices are designed to deny users access to install or run +Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we +use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we +products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. - Finally, every program is threatened constantly by software patents. +Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that +make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. - The precise terms and conditions for copying, distribution and +The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS - 0. Definitions. +0. Definitions. - "This License" refers to version 3 of the GNU General Public License. +"This License" refers to version 3 of the GNU General Public License. - "Copyright" also means copyright-like laws that apply to other kinds of +"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and +"The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. - To "modify" a work means to copy from or adapt all or part of the work +To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the +exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. - A "covered work" means either the unmodified Program or a work based +A "covered work" means either the unmodified Program or a work based on the Program. - To "propagate" a work means to do anything with it that, without +To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, +computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through +To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. - An interactive user interface displays "Appropriate Legal Notices" +An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If +work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. - 1. Source Code. +1. Source Code. - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source +The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source form of a work. - A "Standard Interface" means an interface that either is an official +A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. - The "System Libraries" of an executable work include anything, other +The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A +implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. - The "Corresponding Source" for a work in object code form means all +The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's +control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source +which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. - The Corresponding Source need not include anything that users +The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. - The Corresponding Source for a work in source code form is that +The Corresponding Source for a work in source code form is that same work. - 2. Basic Permissions. +2. Basic Permissions. - All rights granted under this License are granted for the term of +All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your +content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. - You may make, run and propagate covered works that you do not +You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose +in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works +not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 +Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. +3. Protecting Users' Legal Rights From Anti-Circumvention Law. - No covered work shall be deemed part of an effective technological +No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. - When you convey a covered work, you waive any legal power to forbid +When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or @@ -1612,9 +1295,9 @@ modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. - 4. Conveying Verbatim Copies. +4. Conveying Verbatim Copies. - You may convey verbatim copies of the Program's source code as you +You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any @@ -1622,12 +1305,12 @@ non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. - You may charge any price or no price for each copy that you convey, +You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. - 5. Conveying Modified Source Versions. +5. Conveying Modified Source Versions. - You may convey a work based on the Program, or the modifications to +You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: @@ -1652,19 +1335,19 @@ terms of section 4, provided that you also meet all of these conditions: interfaces that do not display Appropriate Legal Notices, your work need not make them do so. - A compilation of a covered work with other separate and independent +A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work +beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. - 6. Conveying Non-Source Forms. +6. Conveying Non-Source Forms. - You may convey a covered work in object code form under the terms +You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: @@ -1710,75 +1393,75 @@ in one of these ways: Source of the work are being offered to the general public at no charge under subsection 6d. - A separable portion of the object code, whose source code is excluded +A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. - A "User Product" is either (1) a "consumer product", which means any +A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product +actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. - "Installation Information" for a User Product means any methods, +"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must +a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. - If you convey an object code work under this section in, or with, or +If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply +by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). - The requirement to provide Installation Information does not include a +The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a +the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. - Corresponding Source conveyed, and Installation Information provided, +Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. - 7. Additional Terms. +7. Additional Terms. - "Additional permissions" are terms that supplement the terms of this +"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions +that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. - When you convey a copy of a covered work, you may at your option +When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. - Notwithstanding any other provision of this License, for material you +Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: @@ -1805,74 +1488,74 @@ that material) supplement the terms of this License with terms: any liability that these contractual assumptions directly impose on those licensors and authors. - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you +All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains +restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. - If you add terms to a covered work in accord with this section, you +If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. - Additional terms, permissive or non-permissive, may be stated in the +Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. - 8. Termination. +8. Termination. - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or +You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). - However, if you cease all violation of this License, then your +However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. - Moreover, your license from a particular copyright holder is +Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. - Termination of your rights under this section does not terminate the +Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently +this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. - 9. Acceptance Not Required for Having Copies. +9. Acceptance Not Required for Having Copies. - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work +You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, +to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. - 10. Automatic Licensing of Downstream Recipients. +10. Automatic Licensing of Downstream Recipients. - Each time you convey a covered work, the recipient automatically +Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible +propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. - An "entity transaction" is a transaction transferring control of an +An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered +organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could @@ -1880,43 +1563,43 @@ give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may +You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. - 11. Patents. +11. Patents. - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The +A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". - A contributor's "essential patent claims" are all patent claims +A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For +consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. - Each contributor grants you a non-exclusive, worldwide, royalty-free +Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. - In the following three paragraphs, a "patent license" is any express +In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a +sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. - If you convey a covered work, knowingly relying on a patent license, +If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, @@ -1924,13 +1607,13 @@ then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have +license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. - If, pursuant to or in connection with a single transaction or +If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify @@ -1938,10 +1621,10 @@ or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. - A patent license is "discriminatory" if it does not include within +A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered +specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying @@ -1953,73 +1636,73 @@ for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. - Nothing in this License shall be construed as excluding or limiting +Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. - 12. No Surrender of Others' Freedom. +12. No Surrender of Others' Freedom. - If conditions are imposed on you (whether by court order, agreement or +If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a +excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you +not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. - 13. Use with the GNU Affero General Public License. +13. Use with the GNU Affero General Public License. - Notwithstanding any other provision of this License, you have +Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this +combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. - 14. Revised Versions of this License. +14. Revised Versions of this License. - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will +The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. - Each version is given a distinguishing version number. If the +Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the +Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. - If the Program specifies that a proxy can decide which future +If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any +Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. - 15. Disclaimer of Warranty. +15. Disclaimer of Warranty. - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - 16. Limitation of Liability. +16. Limitation of Liability. - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE @@ -2029,9 +1712,9 @@ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - 17. Interpretation of Sections 15 and 16. +17. Interpretation of Sections 15 and 16. - If the disclaimer of warranty and limitation of liability provided +If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the @@ -2042,11 +1725,11 @@ copy of the Program in return for a fee. How to Apply These Terms to Your New Programs - If you develop a new program, and you want it to be of the greatest +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. - To do so, attach the following notices to the program. It is safest +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. @@ -2069,7 +1752,7 @@ the "copyright" line and a pointer to where the full notice is found. Also add information on how to contact you by electronic and paper mail. - If the program does terminal interaction, make it output a short +If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) @@ -2078,112 +1761,450 @@ notice like this when it starts in an interactive mode: under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands +parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". - You should also get your employer (if you work as a programmer) or school, +You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you +The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read . -prettytable +opt-einsum 3.3.0 -BSD License -Luke Maurits -https://github.com/jazzband/prettytable -A simple Python library for easily displaying tabular data in a visually appealing ASCII table format -# Copyright (c) 2009-2014 Luke Maurits -# All rights reserved. -# With contributions from: -# * Chris Clark -# * Klein Stephane -# * John Filleau -# * Vladimir Vrzić -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# * The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. +MIT +https://github.com/dgasmith/opt_einsum +The MIT License (MIT) +Copyright (c) 2014 Daniel Smith -pyperclip -1.8.2 -BSD License -Al Sweigart -https://github.com/asweigart/pyperclip -A cross-platform clipboard module for Python. (Only handles plain text for now.) -Copyright (c) 2014, Al Sweigart -All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. +optuna +3.0.0 +MIT License +https://optuna.org/ +MIT License -* Neither the name of the {organization} nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. +Copyright (c) 2018 Preferred Networks, Inc. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -pyreadline3 -3.4.1 -BSD License -Bassem Girgis -https://pypi.python.org/pypi/pyreadline3/ -A python implementation of GNU readline. -# LICENSE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -## pyreadline3 copyright and licensing notes +optuna-dashboard +0.7.2 +MIT License +https://github.com/optuna/optuna-dashboard +MIT License -Unless indicated otherwise, files in this project are covered by a BSD-type +Copyright (c) 2020-2021 Masashi SHIBATA + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +packaging +21.3 +Apache Software License; BSD License +https://github.com/pypa/packaging +This software is made available under the terms of _either_ of the licenses +found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made +under the terms of _both_ these licenses. + +pbr +5.9.0 +Apache Software License +https://docs.openstack.org/pbr/latest/ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +plotly +5.9.0 +MIT +https://plotly.com/python/ +The MIT License (MIT) + +Copyright (c) 2016-2018 Plotly, Inc + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +prettytable +3.3.0 +BSD License +https://github.com/jazzband/prettytable + +# Copyright (c) 2009-2014 Luke Maurits + +# All rights reserved. + +# With contributions from: + +# \* Chris Clark + +# \* Klein Stephane + +# \* John Filleau + +# \* Vladimir Vrzić + +# + +# Redistribution and use in source and binary forms, with or without + +# modification, are permitted provided that the following conditions are met: + +# + +# \* Redistributions of source code must retain the above copyright notice, + +# this list of conditions and the following disclaimer. + +# \* Redistributions in binary form must reproduce the above copyright notice, + +# this list of conditions and the following disclaimer in the documentation + +# and/or other materials provided with the distribution. + +# \* The name of the author may not be used to endorse or promote products + +# derived from this software without specific prior written permission. + +# + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + +# POSSIBILITY OF SUCH DAMAGE. + +pyparsing +3.0.9 +MIT License +UNKNOWN +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +pyperclip +1.8.2 +BSD License +https://github.com/asweigart/pyperclip +Copyright (c) 2014, Al Sweigart +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +- Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +- Neither the name of the {organization} nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +pyreadline3 +3.4.1 +BSD License +https://pypi.python.org/pypi/pyreadline3/ + +# LICENSE + +## pyreadline3 copyright and licensing notes + +Unless indicated otherwise, files in this project are covered by a BSD-type license, included below. Individual authors are the holders of the copyright for their code and are listed in each file. -Some files may be licensed under different conditions. Ultimately each file -indicates clearly the conditions under which its author/authors have +Some files may be licensed under different conditions. Ultimately each file +indicates clearly the conditions under which its author/authors have decided to publish the code. ## pyreadline3 license @@ -2204,16 +2225,15 @@ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: a. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. +this list of conditions and the following disclaimer. b. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. c. Neither the name of the copyright holders nor the names of any - contributors to this software may be used to endorse or promote products - derived from this software without specific prior written permission. - +contributors to this software may be used to endorse or promote products +derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE @@ -2227,14 +2247,459 @@ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +pyro-api +0.1.2 +Apache Software License +https://github.com/pyro-ppl/pyro-api + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +pyro-ppl +1.8.1 +Apache Software License +http://pyro.ai + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +scikit-learn +1.1.1 +new BSD +http://scikit-learn.org +BSD 3-Clause License + +Copyright (c) 2007-2021 The scikit-learn developers. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +- Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +- Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. scipy 1.8.1 BSD License -UNKNOWN https://www.scipy.org -SciPy: Scientific Library for Python -Copyright (c) 2001-2002 Enthought, Inc. 2003-2019, SciPy Developers. +Copyright (c) 2001-2002 Enthought, Inc. 2003-2019, SciPy Developers. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -2265,193 +2730,188 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ----- +--- This binary distribution of Scipy also bundles the following software: - Name: OpenBLAS -Files: extra-dll\libopenb*.dll +Files: extra-dll\libopenb\*.dll Description: bundled as a dynamically linked library Availability: https://github.com/xianyi/OpenBLAS/ License: 3-clause BSD - Copyright (c) 2011-2014, The OpenBLAS Project - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - +Copyright (c) 2011-2014, The OpenBLAS Project +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - 3. Neither the name of the OpenBLAS project nor the names of - its contributors may be used to endorse or promote products - derived from this software without specific prior written + 3. Neither the name of the OpenBLAS project nor the names of + its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Name: LAPACK -Files: extra-dll\libopenb*.dll +Files: extra-dll\libopenb\*.dll Description: bundled in OpenBLAS Availability: https://github.com/xianyi/OpenBLAS/ License 3-clause BSD - Copyright (c) 1992-2013 The University of Tennessee and The University - of Tennessee Research Foundation. All rights - reserved. - Copyright (c) 2000-2013 The University of California Berkeley. All - rights reserved. - Copyright (c) 2006-2013 The University of Colorado Denver. All rights - reserved. - - $COPYRIGHT$ - - Additional copyrights may follow - - $HEADER$ - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - - Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer listed - in this license in the documentation and/or other materials - provided with the distribution. - - - Neither the name of the copyright holders nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - The copyright holders provide no reassurances that the source code - provided does not infringe any patent, copyright, or any other - intellectual property rights of third parties. The copyright holders - disclaim any liability to any recipient for claims brought against - recipient by any third party for infringement of that parties - intellectual property rights. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +Copyright (c) 1992-2013 The University of Tennessee and The University +of Tennessee Research Foundation. All rights +reserved. +Copyright (c) 2000-2013 The University of California Berkeley. All +rights reserved. +Copyright (c) 2006-2013 The University of Colorado Denver. All rights +reserved. +$COPYRIGHT$ + +Additional copyrights may follow + +$HEADER$ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +- Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer listed + in this license in the documentation and/or other materials + provided with the distribution. + +- Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +The copyright holders provide no reassurances that the source code +provided does not infringe any patent, copyright, or any other +intellectual property rights of third parties. The copyright holders +disclaim any liability to any recipient for claims brought against +recipient by any third party for infringement of that parties +intellectual property rights. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Name: GCC runtime library Files: extra-dll\*.dll Description: statically linked, in DLL files compiled with gfortran only Availability: https://gcc.gnu.org/viewcvs/gcc/ License: GPLv3 + runtime exception - Copyright (C) 2002-2017 Free Software Foundation, Inc. - - Libgfortran is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - Libgfortran is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - Under Section 7 of GPL version 3, you are granted additional - permissions described in the GCC Runtime Library Exception, version - 3.1, as published by the Free Software Foundation. - - You should have received a copy of the GNU General Public License and - a copy of the GCC Runtime Library Exception along with this program; - see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - . +Copyright (C) 2002-2017 Free Software Foundation, Inc. + +Libgfortran is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. +Libgfortran is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. Name: Microsoft Visual C++ Runtime Files Files: extra-dll\msvcp140.dll License: MSVC - https://www.visualstudio.com/license-terms/distributable-code-microsoft-visual-studio-2015-rc-microsoft-visual-studio-2015-sdk-rc-includes-utilities-buildserver-files/#visual-c-runtime +https://www.visualstudio.com/license-terms/distributable-code-microsoft-visual-studio-2015-rc-microsoft-visual-studio-2015-sdk-rc-includes-utilities-buildserver-files/#visual-c-runtime - Subject to the License Terms for the software, you may copy and - distribute with your program any of the files within the followng - folder and its subfolders except as noted below. You may not modify - these files. +Subject to the License Terms for the software, you may copy and +distribute with your program any of the files within the followng +folder and its subfolders except as noted below. You may not modify +these files. C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist - You may not distribute the contents of the following folders: +You may not distribute the contents of the following folders: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist - Subject to the License Terms for the software, you may copy and - distribute the following files with your program in your program’s - application local folder or by deploying them into the Global - Assembly Cache (GAC): - - VC\atlmfc\lib\mfcmifc80.dll - VC\atlmfc\lib\amd64\mfcmifc80.dll +Subject to the License Terms for the software, you may copy and +distribute the following files with your program in your program’s +application local folder or by deploying them into the Global +Assembly Cache (GAC): +VC\atlmfc\lib\mfcmifc80.dll +VC\atlmfc\lib\amd64\mfcmifc80.dll Name: Microsoft Visual C++ Runtime Files Files: extra-dll\msvc*90.dll, extra-dll\Microsoft.VC90.CRT.manifest License: MSVC - For your convenience, we have provided the following folders for - use when redistributing VC++ runtime files. Subject to the license - terms for the software, you may redistribute the folder - (unmodified) in the application local folder as a sub-folder with - no change to the folder name. You may also redistribute all the - files (*.dll and *.manifest) within a folder, listed below the - folder for your convenience, as an entire set. - - \VC\redist\x86\Microsoft.VC90.ATL\ - atl90.dll - Microsoft.VC90.ATL.manifest - \VC\redist\ia64\Microsoft.VC90.ATL\ - atl90.dll - Microsoft.VC90.ATL.manifest - \VC\redist\amd64\Microsoft.VC90.ATL\ - atl90.dll - Microsoft.VC90.ATL.manifest - \VC\redist\x86\Microsoft.VC90.CRT\ - msvcm90.dll - msvcp90.dll - msvcr90.dll - Microsoft.VC90.CRT.manifest - \VC\redist\ia64\Microsoft.VC90.CRT\ - msvcm90.dll - msvcp90.dll - msvcr90.dll - Microsoft.VC90.CRT.manifest - ----- +For your convenience, we have provided the following folders for +use when redistributing VC++ runtime files. Subject to the license +terms for the software, you may redistribute the folder +(unmodified) in the application local folder as a sub-folder with +no change to the folder name. You may also redistribute all the +files (*.dll and \*.manifest) within a folder, listed below the +folder for your convenience, as an entire set. + +\VC\redist\x86\Microsoft.VC90.ATL\ + atl90.dll +Microsoft.VC90.ATL.manifest +\VC\redist\ia64\Microsoft.VC90.ATL\ + atl90.dll +Microsoft.VC90.ATL.manifest +\VC\redist\amd64\Microsoft.VC90.ATL\ + atl90.dll +Microsoft.VC90.ATL.manifest +\VC\redist\x86\Microsoft.VC90.CRT\ + msvcm90.dll +msvcp90.dll +msvcr90.dll +Microsoft.VC90.CRT.manifest +\VC\redist\ia64\Microsoft.VC90.CRT\ + msvcm90.dll +msvcp90.dll +msvcr90.dll +Microsoft.VC90.CRT.manifest + +--- Full text of license texts referred to above follows (that they are listed below does not necessarily imply the conditions apply to the present binary release): ----- +--- GCC RUNTIME LIBRARY EXCEPTION @@ -2526,195 +2986,195 @@ The availability of this Exception does not imply any general presumption that third-party software is unaffected by the copyleft requirements of the license of GCC. ----- +--- GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. +Copyright (C) 2007 Free Software Foundation, Inc. +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. Preamble - The GNU General Public License is a free, copyleft license for +The GNU General Public License is a free, copyleft license for software and other kinds of works. - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, +The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the +software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to +any other work released this way by its authors. You can apply it to your programs, too. - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have +To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. - For example, if you distribute copies of such a program, whether +For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they know their rights. - Developers that use the GNU GPL protect your rights with two steps: +Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and +For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. - Some devices are designed to deny users access to install or run +Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we +use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we +products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. - Finally, every program is threatened constantly by software patents. +Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that +make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. - The precise terms and conditions for copying, distribution and +The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS - 0. Definitions. +0. Definitions. - "This License" refers to version 3 of the GNU General Public License. +"This License" refers to version 3 of the GNU General Public License. - "Copyright" also means copyright-like laws that apply to other kinds of +"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and +"The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. - To "modify" a work means to copy from or adapt all or part of the work +To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the +exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. - A "covered work" means either the unmodified Program or a work based +A "covered work" means either the unmodified Program or a work based on the Program. - To "propagate" a work means to do anything with it that, without +To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, +computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through +To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. - An interactive user interface displays "Appropriate Legal Notices" +An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If +work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. - 1. Source Code. +1. Source Code. - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source +The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source form of a work. - A "Standard Interface" means an interface that either is an official +A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. - The "System Libraries" of an executable work include anything, other +The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A +implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. - The "Corresponding Source" for a work in object code form means all +The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's +control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source +which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. - The Corresponding Source need not include anything that users +The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. - The Corresponding Source for a work in source code form is that +The Corresponding Source for a work in source code form is that same work. - 2. Basic Permissions. +2. Basic Permissions. - All rights granted under this License are granted for the term of +All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your +content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. - You may make, run and propagate covered works that you do not +You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose +in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works +not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 +Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. +3. Protecting Users' Legal Rights From Anti-Circumvention Law. - No covered work shall be deemed part of an effective technological +No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. - When you convey a covered work, you waive any legal power to forbid +When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or @@ -2722,9 +3182,9 @@ modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. - 4. Conveying Verbatim Copies. +4. Conveying Verbatim Copies. - You may convey verbatim copies of the Program's source code as you +You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any @@ -2732,12 +3192,12 @@ non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. - You may charge any price or no price for each copy that you convey, +You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. - 5. Conveying Modified Source Versions. +5. Conveying Modified Source Versions. - You may convey a work based on the Program, or the modifications to +You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: @@ -2762,19 +3222,19 @@ terms of section 4, provided that you also meet all of these conditions: interfaces that do not display Appropriate Legal Notices, your work need not make them do so. - A compilation of a covered work with other separate and independent +A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work +beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. - 6. Conveying Non-Source Forms. +6. Conveying Non-Source Forms. - You may convey a covered work in object code form under the terms +You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: @@ -2820,75 +3280,75 @@ in one of these ways: Source of the work are being offered to the general public at no charge under subsection 6d. - A separable portion of the object code, whose source code is excluded +A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. - A "User Product" is either (1) a "consumer product", which means any +A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product +actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. - "Installation Information" for a User Product means any methods, +"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must +a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. - If you convey an object code work under this section in, or with, or +If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply +by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). - The requirement to provide Installation Information does not include a +The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a +the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. - Corresponding Source conveyed, and Installation Information provided, +Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. - 7. Additional Terms. +7. Additional Terms. - "Additional permissions" are terms that supplement the terms of this +"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions +that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. - When you convey a copy of a covered work, you may at your option +When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. - Notwithstanding any other provision of this License, for material you +Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: @@ -2915,74 +3375,74 @@ that material) supplement the terms of this License with terms: any liability that these contractual assumptions directly impose on those licensors and authors. - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you +All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains +restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. - If you add terms to a covered work in accord with this section, you +If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. - Additional terms, permissive or non-permissive, may be stated in the +Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. - 8. Termination. +8. Termination. - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or +You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). - However, if you cease all violation of this License, then your +However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. - Moreover, your license from a particular copyright holder is +Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. - Termination of your rights under this section does not terminate the +Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently +this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. - 9. Acceptance Not Required for Having Copies. +9. Acceptance Not Required for Having Copies. - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work +You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, +to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. - 10. Automatic Licensing of Downstream Recipients. +10. Automatic Licensing of Downstream Recipients. - Each time you convey a covered work, the recipient automatically +Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible +propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. - An "entity transaction" is a transaction transferring control of an +An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered +organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could @@ -2990,43 +3450,43 @@ give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may +You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. - 11. Patents. +11. Patents. - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The +A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". - A contributor's "essential patent claims" are all patent claims +A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For +consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. - Each contributor grants you a non-exclusive, worldwide, royalty-free +Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. - In the following three paragraphs, a "patent license" is any express +In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a +sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. - If you convey a covered work, knowingly relying on a patent license, +If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, @@ -3034,13 +3494,13 @@ then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have +license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. - If, pursuant to or in connection with a single transaction or +If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify @@ -3048,10 +3508,10 @@ or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. - A patent license is "discriminatory" if it does not include within +A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered +specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying @@ -3063,73 +3523,73 @@ for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. - Nothing in this License shall be construed as excluding or limiting +Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. - 12. No Surrender of Others' Freedom. +12. No Surrender of Others' Freedom. - If conditions are imposed on you (whether by court order, agreement or +If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a +excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you +not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. - 13. Use with the GNU Affero General Public License. +13. Use with the GNU Affero General Public License. - Notwithstanding any other provision of this License, you have +Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this +combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. - 14. Revised Versions of this License. +14. Revised Versions of this License. - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will +The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. - Each version is given a distinguishing version number. If the +Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the +Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. - If the Program specifies that a proxy can decide which future +If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any +Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. - 15. Disclaimer of Warranty. +15. Disclaimer of Warranty. - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - 16. Limitation of Liability. +16. Limitation of Liability. - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE @@ -3139,9 +3599,9 @@ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - 17. Interpretation of Sections 15 and 16. +17. Interpretation of Sections 15 and 16. - If the disclaimer of warranty and limitation of liability provided +If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the @@ -3152,11 +3612,11 @@ copy of the Program in return for a fee. How to Apply These Terms to Your New Programs - If you develop a new program, and you want it to be of the greatest +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. - To do so, attach the following notices to the program. It is safest +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. @@ -3179,321 +3639,35 @@ the "copyright" line and a pointer to where the full notice is found. Also add information on how to contact you by electronic and paper mail. - If the program does terminal interaction, make it output a short +If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. - - -threadpoolctl -3.1.0 -BSD License -Thomas Moreau -https://github.com/joblib/threadpoolctl -threadpoolctl -Copyright (c) 2019, threadpoolctl contributors - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of copyright holder nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -plotly -5.9.0 -MIT -Chris P -https://plotly.com/python/ -An open-source, interactive data visualization library for Python -The MIT License (MIT) - -Copyright (c) 2016-2018 Plotly, Inc - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -Mako -1.2.0 -MIT License -Mike Bayer -https://www.makotemplates.org/ -A super-fast templating language that borrows the best ideas from the existing templating languages. -Copyright 2006-2021 the Mako authors and contributors . - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -PyYAML -6.0 -MIT License -Kirill Simonov -https://pyyaml.org/ -YAML parser and emitter for Python -Copyright (c) 2017-2021 Ingy döt Net -Copyright (c) 2006-2016 Kirill Simonov - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -SQLAlchemy -1.4.39 -MIT License -Mike Bayer -https://www.sqlalchemy.org -Database Abstraction Library -Copyright 2005-2022 SQLAlchemy authors and contributors . - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -alembic -1.8.0 -MIT License -Mike Bayer -https://alembic.sqlalchemy.org -A database migration tool for SQLAlchemy. -Copyright 2009-2022 Michael Bayer. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -attrs -21.4.0 -MIT License -Hynek Schlawack -https://www.attrs.org/ -Classes Without Boilerplate -The MIT License (MIT) - -Copyright (c) 2015 Hynek Schlawack - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -bottle -0.12.21 -MIT License -Marcel Hellkamp -http://bottlepy.org/ -Fast and simple WSGI-framework for small web-applications. -Copyright (c) 2012, Marcel Hellkamp. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -cmaes -0.8.2 -MIT License -Masashi Shibata -https://github.com/CyberAgent/cmaes -Lightweight Covariance Matrix Adaptation Evolution Strategy (CMA-ES) implementation for Python 3. -MIT License - -Copyright (c) 2020-2021 CyberAgent, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -cmd2 -2.4.1 -MIT License -Catherine Devlin -https://github.com/python-cmd2/cmd2 -cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python -The MIT License (MIT) - -Copyright (c) 2008-2022 Catherine Devlin and others - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + under certain conditions; type `show c' for details. +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". -colorlog -6.6.0 -MIT License -Sam Clements -https://github.com/borntyping/python-colorlog -Add colours to the output of Python's logging module. -The MIT License (MIT) +You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. -Copyright (c) 2012-2021 Sam Clements +The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. + +six +1.16.0 +MIT License +https://github.com/benjaminp/six +Copyright (c) 2010-2020 Benjamin Peterson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in @@ -3512,170 +3686,899 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +stevedore +3.5.0 +Apache Software License +https://docs.openstack.org/stevedore/latest/ -greenlet -1.1.2 -MIT License -Alexey Borzenkov -https://greenlet.readthedocs.io/ -Lightweight in-process concurrent programming -The following files are derived from Stackless Python and are subject to the -same license as Stackless Python: + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ - src/greenlet/slp_platformselect.h - files in src/greenlet/platform/ directory +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. -See LICENSE.PSF and http://www.stackless.com/ for details. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -Unless otherwise noted, the files in greenlet have been released under the -following MIT license: +Copyright [yyyy] [name of copyright owner] -Copyright (c) Armin Rigo, Christian Tismer and contributors +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + http://www.apache.org/licenses/LICENSE-2.0 -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +tenacity +8.0.1 +Apache Software License +https://github.com/jd/tenacity + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -optuna -2.10.1 -MIT License -Takuya Akiba -https://optuna.org/ -A hyperparameter optimization framework -MIT License +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. -Copyright (c) 2018 Preferred Networks, Inc. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Copyright [yyyy] [name of copyright owner] -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. -optuna-dashboard -0.7.1 -MIT License -Masashi Shibata -https://github.com/optuna/optuna-dashboard -Real-time dashboard for Optuna. -MIT License +threadpoolctl +3.1.0 +BSD License +https://github.com/joblib/threadpoolctl +Copyright (c) 2019, threadpoolctl contributors -Copyright (c) 2020-2021 Masashi SHIBATA +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +torch +1.12.0 +BSD License +https://pytorch.org/ +From PyTorch: +Copyright (c) 2016- Facebook, Inc (Adam Paszke) +Copyright (c) 2014- Facebook, Inc (Soumith Chintala) +Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert) +Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu) +Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu) +Copyright (c) 2011-2013 NYU (Clement Farabet) +Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston) +Copyright (c) 2006 Idiap Research Institute (Samy Bengio) +Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz) -pyparsing -3.0.9 -MIT License -UNKNOWN -UNKNOWN -pyparsing module - Classes and methods to define and execute parsing grammars -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: +From Caffe2: -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. +Copyright (c) 2016-present, Facebook Inc. All rights reserved. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +All contributions by Facebook: +Copyright (c) 2016 Facebook Inc. +All contributions by Google: +Copyright (c) 2015 Google Inc. +All rights reserved. -wcwidth -0.2.5 -MIT License -Jeff Quast -https://github.com/jquast/wcwidth -Measures the displayed width of unicode strings in a terminal -The MIT License (MIT) +All contributions by Yangqing Jia: +Copyright (c) 2015 Yangqing Jia +All rights reserved. -Copyright (c) 2014 Jeff Quast +All contributions by Kakao Brain: +Copyright 2019-2020 Kakao Brain -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +All contributions by Cruise LLC: +Copyright (c) 2022 Cruise LLC. +All rights reserved. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +All contributions from Caffe: +Copyright(c) 2013, 2014, 2015, the respective contributors +All rights reserved. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +All other contributions: +Copyright(c) 2015, 2016 the respective contributors +All rights reserved. -Markus Kuhn -- 2007-05-26 (Unicode 5.0) +Caffe2 uses a copyright model similar to Caffe: each contributor holds +copyright over their contributions to Caffe2. The project versioning records +all such contribution and copyright details. If a contributor wants to further +mark their specific copyright on a particular contribution, they should +indicate their copyright solely in the commit message of the change when it is +committed. -Permission to use, copy, modify, and distribute this software -for any purpose and without fee is hereby granted. The author -disclaims all warranties with regard to this software. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the names of Facebook, Deepmind Technologies, NYU, NEC Laboratories America + and IDIAP Research Institute nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +The Pytorch repository and source distributions bundle several libraries that are +compatibly licensed. We list these here. + +Name: FP16 +License: MIT +Files: third_party/FP16 +For details, see third_party/FP16/LICENSE + +Name: FP16-source +License: MIT +Files: third_party/XNNPACK/build/FP16-source +For details, see third_party/XNNPACK/build/FP16-source/LICENSE + +Name: FXdiv +License: MIT +Files: third_party/FXdiv +For details, see third_party/FXdiv/LICENSE + +Name: FXdiv-source +License: MIT +Files: third_party/XNNPACK/build/FXdiv-source +For details, see third_party/XNNPACK/build/FXdiv-source/LICENSE + +Name: NNPACK +License: BSD-2-Clause +Files: third_party/NNPACK +For details, see third_party/NNPACK/LICENSE + +Name: QNNPACK +License: BSD-3-Clause +Files: third_party/QNNPACK +For details, see third_party/QNNPACK/LICENSE + +Name: XNNPACK +License: BSD-3-Clause +Files: third_party/XNNPACK +For details, see third_party/XNNPACK/LICENSE + +Name: benchmark +License: Apache-2.0 +Files: third_party/benchmark, +third_party/onnx/third_party/benchmark, +third_party/onnx-tensorrt/third_party/onnx/third_party/benchmark, +third_party/protobuf/third_party/benchmark +For details, see third_party/benchmark/LICENSE, +third_party/onnx/third_party/benchmark/LICENSE, +third_party/onnx-tensorrt/third_party/onnx/third_party/benchmark/LICENSE, +third_party/protobuf/third_party/benchmark/LICENSE + +Name: breakpad +License: BSD-3-Clause +Files: third_party/breakpad +For details, see third_party/breakpad/LICENSE + +Name: clog +License: BSD-2-Clause +Files: third_party/QNNPACK/deps/clog, +third_party/XNNPACK/build/clog-source/deps/clog, +third_party/XNNPACK/build/cpuinfo-source/deps/clog, +third_party/cpuinfo/deps/clog, +third_party/fbgemm/third_party/cpuinfo/deps/clog +For details, see third_party/QNNPACK/deps/clog/LICENSE, +third_party/XNNPACK/build/clog-source/deps/clog/LICENSE, +third_party/XNNPACK/build/cpuinfo-source/deps/clog/LICENSE, +third_party/cpuinfo/deps/clog/LICENSE, +third_party/fbgemm/third_party/cpuinfo/deps/clog/LICENSE + +Name: clog-source +License: BSD-2-Clause +Files: third_party/XNNPACK/build/clog-source +For details, see third_party/XNNPACK/build/clog-source/LICENSE + +Name: cpuinfo +License: BSD-2-Clause +Files: third_party/cpuinfo, +third_party/fbgemm/third_party/cpuinfo +For details, see third_party/cpuinfo/LICENSE, +third_party/fbgemm/third_party/cpuinfo/LICENSE + +Name: cpuinfo-source +License: BSD-2-Clause +Files: third_party/XNNPACK/build/cpuinfo-source +For details, see third_party/XNNPACK/build/cpuinfo-source/LICENSE + +Name: cudnn_frontend +License: MIT +Files: third_party/cudnn_frontend +For details, see third_party/cudnn_frontend/LICENSE.txt + +Name: dart +License: Apache-2.0 +Files: third_party/flatbuffers/dart +For details, see third_party/flatbuffers/dart/LICENSE + +Name: eigen +License: BSD-3-Clause +Files: third_party/eigen +For details, see third_party/eigen/COPYING.BSD + +Name: enum +License: BSD-3-Clause +Files: third_party/python-enum/enum +For details, see third_party/python-enum/enum/LICENSE + +Name: fbgemm +License: BSD-3-Clause +Files: third_party/fbgemm +For details, see third_party/fbgemm/LICENSE + +Name: flatbuffers +License: Apache-2.0 +Files: third_party/flatbuffers +For details, see third_party/flatbuffers/LICENSE.txt + +Name: fmt +License: MIT with exception +Files: third_party/fmt, +third_party/kineto/libkineto/third_party/fmt +For details, see third_party/fmt/LICENSE.rst, +third_party/kineto/libkineto/third_party/fmt/LICENSE.rst + +Name: foxi +License: MIT +Files: third_party/foxi +For details, see third_party/foxi/LICENSE + +Name: gemmlowp +License: Apache-2.0 +Files: third_party/gemmlowp/gemmlowp +For details, see third_party/gemmlowp/gemmlowp/LICENSE + +Name: generator +License: Apache-2.0 +Files: third_party/XNNPACK/build/googletest-source/googlemock/scripts/generator, +third_party/benchmark/build/third_party/googletest/src/googlemock/scripts/generator, +third_party/fbgemm/third_party/googletest/googlemock/scripts/generator, +third_party/googletest/googlemock/scripts/generator, +third_party/kineto/libkineto/third_party/googletest/googlemock/scripts/generator, +third_party/protobuf/third_party/googletest/googlemock/scripts/generator, +third_party/tensorpipe/third_party/googletest/googlemock/scripts/generator +For details, see third_party/XNNPACK/build/googletest-source/googlemock/scripts/generator/LICENSE, +third_party/benchmark/build/third_party/googletest/src/googlemock/scripts/generator/LICENSE, +third_party/fbgemm/third_party/googletest/googlemock/scripts/generator/LICENSE, +third_party/googletest/googlemock/scripts/generator/LICENSE, +third_party/kineto/libkineto/third_party/googletest/googlemock/scripts/generator/LICENSE, +third_party/protobuf/third_party/googletest/googlemock/scripts/generator/LICENSE, +third_party/tensorpipe/third_party/googletest/googlemock/scripts/generator/LICENSE + +Name: gloo +License: BSD-3-Clause +Files: third_party/gloo +For details, see third_party/gloo/LICENSE + +Name: googlebenchmark-source +License: Apache-2.0 +Files: third_party/XNNPACK/build/googlebenchmark-source +For details, see third_party/XNNPACK/build/googlebenchmark-source/LICENSE + +Name: googlemock +License: BSD-3-Clause +Files: third_party/XNNPACK/build/googletest-source/googlemock, +third_party/fbgemm/third_party/googletest/googlemock, +third_party/kineto/libkineto/third_party/googletest/googlemock, +third_party/protobuf/third_party/googletest/googlemock, +third_party/tensorpipe/third_party/googletest/googlemock +For details, see third_party/XNNPACK/build/googletest-source/googlemock/LICENSE, +third_party/fbgemm/third_party/googletest/googlemock/LICENSE, +third_party/kineto/libkineto/third_party/googletest/googlemock/LICENSE, +third_party/protobuf/third_party/googletest/googlemock/LICENSE, +third_party/tensorpipe/third_party/googletest/googlemock/LICENSE + +Name: googletest +License: BSD-3-Clause +Files: third_party/XNNPACK/build/googletest-source/googletest, +third_party/fbgemm/third_party/googletest, +third_party/fbgemm/third_party/googletest/googletest, +third_party/googletest, +third_party/kineto/libkineto/third_party/googletest, +third_party/kineto/libkineto/third_party/googletest/googletest, +third_party/protobuf/third_party/googletest, +third_party/protobuf/third_party/googletest/googletest, +third_party/tensorpipe/third_party/googletest, +third_party/tensorpipe/third_party/googletest/googletest +For details, see third_party/XNNPACK/build/googletest-source/googletest/LICENSE, +third_party/fbgemm/third_party/googletest/LICENSE, +third_party/fbgemm/third_party/googletest/googletest/LICENSE, +third_party/googletest/LICENSE, +third_party/kineto/libkineto/third_party/googletest/LICENSE, +third_party/kineto/libkineto/third_party/googletest/googletest/LICENSE, +third_party/protobuf/third_party/googletest/LICENSE, +third_party/protobuf/third_party/googletest/googletest/LICENSE, +third_party/tensorpipe/third_party/googletest/LICENSE, +third_party/tensorpipe/third_party/googletest/googletest/LICENSE + +Name: googletest-source +License: BSD-3-Clause +Files: third_party/XNNPACK/build/googletest-source +For details, see third_party/XNNPACK/build/googletest-source/LICENSE + +Name: gtest +License: BSD-3-Clause +Files: third_party/ideep/mkl-dnn/tests/gtest, +third_party/ideep/mkl-dnn/third_party/oneDNN/tests/gtests/gtest +For details, see third_party/ideep/mkl-dnn/tests/gtest/LICENSE, +third_party/ideep/mkl-dnn/third_party/oneDNN/tests/gtests/gtest/LICENSE + +Name: ideep +License: MIT +Files: third_party/ideep +For details, see third_party/ideep/LICENSE + +Name: ios-cmake +License: BSD-3-Clause +Files: third_party/ios-cmake +For details, see third_party/ios-cmake/LICENSE + +Name: json +License: MIT +Files: third_party/cudnn_frontend/include/contrib/nlohmann/json +For details, see third_party/cudnn_frontend/include/contrib/nlohmann/json/LICENSE.txt + +Name: kineto +License: BSD-3-Clause +Files: third_party/kineto +For details, see third_party/kineto/LICENSE + +Name: libdisasm +License: Clarified Artistic License +Files: third_party/breakpad/src/third_party/libdisasm +For details, see third_party/breakpad/src/third_party/libdisasm/LICENSE + +Name: libnop +License: Apache-2.0 +Files: third_party/tensorpipe/third_party/libnop +For details, see third_party/tensorpipe/third_party/libnop/LICENSE + +Name: libuv +License: MIT +Files: third_party/tensorpipe/third_party/libuv +For details, see third_party/tensorpipe/third_party/libuv/LICENSE + +Name: lss +License: BSD-3-Clause +Files: third_party/breakpad/src/third_party/lss +For details, see third_party/breakpad/src/third_party/lss/LICENSE + +Name: miniz-2.0.8 +License: MIT +Files: third_party/miniz-2.0.8 +For details, see third_party/miniz-2.0.8/LICENSE + +Name: mkl-dnn +License: Apache-2.0 +Files: third_party/ideep/mkl-dnn +For details, see third_party/ideep/mkl-dnn/LICENSE + +Name: nccl +License: BSD-3-Clause +Files: third_party/nccl/nccl +For details, see third_party/nccl/nccl/LICENSE.txt + +Name: neon2sse +License: BSD-Source-Code +Files: third_party/neon2sse +For details, see third_party/neon2sse/LICENSE + +Name: oneDNN +License: Apache-2.0 +Files: third_party/ideep/mkl-dnn/third_party/oneDNN +For details, see third_party/ideep/mkl-dnn/third_party/oneDNN/LICENSE + +Name: onnx +License: Apache-2.0 +Files: third_party/onnx +For details, see third_party/onnx/LICENSE + +Name: onnx +License: MIT +Files: third_party/onnx-tensorrt/third_party/onnx +For details, see third_party/onnx-tensorrt/third_party/onnx/LICENSE + +Name: onnx-tensorrt +License: MIT +Files: third_party/onnx-tensorrt +For details, see third_party/onnx-tensorrt/LICENSE + +Name: protobuf +License: BSD-3-Clause +Files: third_party/protobuf +For details, see third_party/protobuf/LICENSE + +Name: psimd +License: MIT +Files: third_party/XNNPACK/deps/psimd, +third_party/psimd +For details, see third_party/XNNPACK/deps/psimd/LICENSE, +third_party/psimd/LICENSE + +Name: pthreadpool +License: BSD-2-Clause +Files: third_party/pthreadpool +For details, see third_party/pthreadpool/LICENSE + +Name: pthreadpool-source +License: BSD-2-Clause +Files: third_party/XNNPACK/build/pthreadpool-source +For details, see third_party/XNNPACK/build/pthreadpool-source/LICENSE + +Name: pybind11 +License: BSD-3-Clause +Files: third_party/onnx/third_party/pybind11, +third_party/onnx-tensorrt/third_party/onnx/third_party/pybind11, +third_party/pybind11, +third_party/tensorpipe/third_party/pybind11 +For details, see third_party/onnx/third_party/pybind11/LICENSE, +third_party/onnx-tensorrt/third_party/onnx/third_party/pybind11/LICENSE, +third_party/pybind11/LICENSE, +third_party/tensorpipe/third_party/pybind11/LICENSE + +Name: python-peachpy +License: BSD-2-Clause +Files: third_party/python-peachpy +For details, see third_party/python-peachpy/LICENSE.rst + +Name: python-six +License: MIT +Files: third_party/python-six +For details, see third_party/python-six/LICENSE + +Name: sleef +License: BSL-1.0 +Files: third_party/sleef +For details, see third_party/sleef/LICENSE.txt + +Name: src +License: BSD-3-Clause +Files: third_party/benchmark/build/third_party/googletest/src +For details, see third_party/benchmark/build/third_party/googletest/src/LICENSE + +Name: swift +License: Apache-2.0 +Files: third_party/flatbuffers/swift +For details, see third_party/flatbuffers/swift/LICENSE + +Name: tb_plugin +License: BSD-3-Clause +Files: third_party/kineto/tb_plugin +For details, see third_party/kineto/tb_plugin/LICENSE + +Name: tbb +License: Apache-2.0 +Files: third_party/tbb +For details, see third_party/tbb/LICENSE + +Name: tensorpipe +License: BSD-3-Clause +Files: third_party/tensorpipe +For details, see third_party/tensorpipe/LICENSE.txt + +Name: zstd +License: BSD-3-Clause +Files: third_party/zstd +For details, see third_party/zstd/LICENSE tqdm 4.64.0 MIT License; Mozilla Public License 2.0 (MPL 2.0) -UNKNOWN https://tqdm.github.io -Fast, Extensible Progress Meter `tqdm` is a product of collaborative work. Unless otherwise stated, all authors (see commit logs) retain copyright for their respective work, and release the work under the MIT licence @@ -3684,28 +4587,24 @@ for their respective work, and release the work under the MIT licence Exceptions or notable authors are listed below in reverse chronological order: -* files: * +- files: \* MPLv2.0 2015-2021 (c) Casper da Costa-Luis [casperdcl](https://github.com/casperdcl). -* files: tqdm/_tqdm.py +- files: tqdm/\_tqdm.py MIT 2016 (c) [PR #96] on behalf of Google Inc. -* files: tqdm/_tqdm.py setup.py README.rst MANIFEST.in .gitignore +- files: tqdm/\_tqdm.py setup.py README.rst MANIFEST.in .gitignore MIT 2013 (c) Noam Yorav-Raphael, original author. -[PR #96]: https://github.com/tqdm/tqdm/pull/96 - +[pr #96]: https://github.com/tqdm/tqdm/pull/96 -Mozilla Public Licence (MPL) v. 2.0 - Exhibit A ------------------------------------------------ +## Mozilla Public Licence (MPL) v. 2.0 - Exhibit A This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this project, You can obtain one at https://mozilla.org/MPL/2.0/. - -MIT License (MIT) ------------------ +## MIT License (MIT) Copyright (c) 2013 noamraph @@ -3726,41 +4625,289 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -scikit-learn -1.1.1 -new BSD +typing-extensions +4.3.0 +Python Software Foundation License UNKNOWN -http://scikit-learn.org -A set of python modules for machine learning and data mining -BSD 3-Clause License +A. HISTORY OF THE SOFTWARE +========================== + +Python was created in the early 1990s by Guido van Rossum at Stichting +Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands +as a successor of a language called ABC. Guido remains Python's +principal author, although it includes many contributions from others. + +In 1995, Guido continued his work on Python at the Corporation for +National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) +in Reston, Virginia where he released several versions of the +software. + +In May 2000, Guido and the Python core development team moved to +BeOpen.com to form the BeOpen PythonLabs team. In October of the same +year, the PythonLabs team moved to Digital Creations (now Zope +Corporation, see http://www.zope.com). In 2001, the Python Software +Foundation (PSF, see http://www.python.org/psf/) was formed, a +non-profit organization created specifically to own Python-related +Intellectual Property. Zope Corporation is a sponsoring member of +the PSF. + +All Python releases are Open Source (see http://www.opensource.org for +the Open Source Definition). Historically, most, but not all, Python +releases have also been GPL-compatible; the table below summarizes +the various releases. + + Release Derived Year Owner GPL- + from compatible? (1) + + 0.9.0 thru 1.2 1991-1995 CWI yes + 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes + 1.6 1.5.2 2000 CNRI no + 2.0 1.6 2000 BeOpen.com no + 1.6.1 1.6 2001 CNRI yes (2) + 2.1 2.0+1.6.1 2001 PSF no + 2.0.1 2.0+1.6.1 2001 PSF yes + 2.1.1 2.1+2.0.1 2001 PSF yes + 2.1.2 2.1.1 2002 PSF yes + 2.1.3 2.1.2 2002 PSF yes + 2.2 and above 2.1.1 2001-now PSF yes + +Footnotes: + +(1) GPL-compatible doesn't mean that we're distributing Python under +the GPL. All Python licenses, unlike the GPL, let you distribute +a modified version without making your changes open source. The +GPL-compatible licenses make it possible to combine Python with +other software that is released under the GPL; the others don't. + +(2) According to Richard Stallman, 1.6.1 is not GPL-compatible, +because its license has a choice of law clause. According to +CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 +is "not incompatible" with the GPL. + +Thanks to the many outside volunteers who have worked under Guido's +direction to make these releases possible. + +# B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON + +## PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + +1. This LICENSE AGREEMENT is between the Python Software Foundation + ("PSF"), and the Individual or Organization ("Licensee") accessing and + otherwise using this software ("Python") in source or binary form and + its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF hereby + grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, + analyze, test, perform and/or display publicly, prepare derivative works, + distribute, and otherwise use Python alone or in any derivative version, + provided, however, that PSF's License Agreement and PSF's notice of copyright, + i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, + 2011, 2012, 2013, 2014 Python Software Foundation; All Rights Reserved" are + retained in Python alone or in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on + or incorporates Python or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to Python. + +4. PSF is making Python available to Licensee on an "AS IS" + basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, + OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between PSF and + Licensee. This License Agreement does not grant permission to use PSF + trademarks or trade name in a trademark sense to endorse or promote + products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + +## BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + +1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an + office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the + Individual or Organization ("Licensee") accessing and otherwise using + this software in source or binary form and its associated + documentation ("the Software"). + +2. Subject to the terms and conditions of this BeOpen Python License + Agreement, BeOpen hereby grants Licensee a non-exclusive, + royalty-free, world-wide license to reproduce, analyze, test, perform + and/or display publicly, prepare derivative works, distribute, and + otherwise use the Software alone or in any derivative version, + provided, however, that the BeOpen Python License is retained in the + Software, alone or in any derivative version prepared by Licensee. + +3. BeOpen is making the Software available to Licensee on an "AS IS" + basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + +4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE + SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS + AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY + DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +5. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + +6. This License Agreement shall be governed by and interpreted in all + respects by the law of the State of California, excluding conflict of + law provisions. Nothing in this License Agreement shall be deemed to + create any relationship of agency, partnership, or joint venture + between BeOpen and Licensee. This License Agreement does not grant + permission to use BeOpen trademarks or trade names in a trademark + sense to endorse or promote products or services of Licensee, or any + third party. As an exception, the "BeOpen Python" logos available at + http://www.pythonlabs.com/logos.html may be used according to the + permissions granted on that web page. + +7. By copying, installing or otherwise using the software, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + +## CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 + +1. This LICENSE AGREEMENT is between the Corporation for National + Research Initiatives, having an office at 1895 Preston White Drive, + Reston, VA 20191 ("CNRI"), and the Individual or Organization + ("Licensee") accessing and otherwise using Python 1.6.1 software in + source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, CNRI + hereby grants Licensee a nonexclusive, royalty-free, world-wide + license to reproduce, analyze, test, perform and/or display publicly, + prepare derivative works, distribute, and otherwise use Python 1.6.1 + alone or in any derivative version, provided, however, that CNRI's + License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) + 1995-2001 Corporation for National Research Initiatives; All Rights + Reserved" are retained in Python 1.6.1 alone or in any derivative + version prepared by Licensee. Alternately, in lieu of CNRI's License + Agreement, Licensee may substitute the following text (omitting the + quotes): "Python 1.6.1 is made available subject to the terms and + conditions in CNRI's License Agreement. This Agreement together with + Python 1.6.1 may be located on the Internet using the following + unique, persistent identifier (known as a handle): 1895.22/1013. This + Agreement may also be obtained from a proxy server on the Internet + using the following URL: http://hdl.handle.net/1895.22/1013". + +3. In the event Licensee prepares a derivative work that is based on + or incorporates Python 1.6.1 or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to Python 1.6.1. + +4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" + basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + +5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, + OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + +7. This License Agreement shall be governed by the federal + intellectual property law of the United States, including without + limitation the federal copyright law, and, to the extent such + U.S. federal law does not apply, by the law of the Commonwealth of + Virginia, excluding Virginia's conflict of law provisions. + Notwithstanding the foregoing, with regard to derivative works based + on Python 1.6.1 that incorporate non-separable material that was + previously distributed under the GNU General Public License (GPL), the + law of the Commonwealth of Virginia shall govern this License + Agreement only as to issues arising under or with respect to + Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this + License Agreement shall be deemed to create any relationship of + agency, partnership, or joint venture between CNRI and Licensee. This + License Agreement does not grant permission to use CNRI trademarks or + trade name in a trademark sense to endorse or promote products or + services of Licensee, or any third party. + +8. By clicking on the "ACCEPT" button where indicated, or by copying, + installing or otherwise using Python 1.6.1, Licensee agrees to be + bound by the terms and conditions of this License Agreement. + + ACCEPT + +## CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, +The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Stichting Mathematisch +Centrum or CWI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -Copyright (c) 2007-2021 The scikit-learn developers. -All rights reserved. +wcwidth +0.2.5 +MIT License +https://github.com/jquast/wcwidth +The MIT License (MIT) -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: +Copyright (c) 2014 Jeff Quast -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -* Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +Markus Kuhn -- 2007-05-26 (Unicode 5.0) + +Permission to use, copy, modify, and distribute this software +for any purpose and without fee is hereby granted. The author +disclaims all warranties with regard to this software. +---------------------------------------------------------------------------------------------------- +This license representation is created by executing the following command using "pip-licenses". +pip-licenses --format=plain-vertical --with-license-file --no-license-path --with-urls --output-file=./PYTHON_PACKAGE_LICENSES diff --git a/README.md b/README.md index 8d0d8cf3..d66247b3 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,10 @@ Please see PYTHON_PACKAGE_LICENSE for more license information. https://user-images.githubusercontent.com/23289252/178105107-5e9dd9f7-5680-40d4-97b0-840a4f1f329c.mp4 +### :fish_cake: Select sampler flow chart + +image + ### :anchor: Component location Tunny can be found in the Tunny tab if it has been installed. @@ -103,7 +107,10 @@ The nickname of the ConstructFishAttribute component input is stored paired with The Geometry input has a special meaning; what is entered here will be displayed as a Geometry when the results are sorted in the FishMarket component described below. - +Constraint inputs are also special inputs.**(new in v0.5.0)** The values entered here are the constraints in the optimization. +When this value is less than 0, the constraint is considered satisfied. Constraint conditions are supported by TPE, GP and NSGAII. + +image ### :octopus: Other components @@ -128,24 +135,26 @@ On the other hand, it is possible to save the learning status, and even after th On the other hand, Running the Dashboard function, which charts the results, starts a server that handles the results and allows you to see the optimization results in real time in your browser. This feature is useful for analyzing post-optimization results, as it allows the user to not only see the results in real time, but also to view several figures at once. -It is recommended that optimization be performed a small number of times, and after completion, the results should be reviewed to determine if continued optimization should be performed. - #### :sailboat: Optimize Tab -image +image Values that can be set and their meanings are as follows. - Sampler - Sets the algorithm to perform the optimization. The following types are available. - All are optimization algorithms provided by Optuna. - 1. TPE (Bayesian optimization) - 1. NSGA-II (Genetic algorithm) - 1. CMA-ES (Evolution strategy) - 1. Random - 1. Grid + 1. Bayesian optimization(TPE) + 2. Bayesian optimization(GP) **(new in v0.5.0)** + 3. Genetic algorithm(NSGA-II) + 4. Evolution strategy(CMA-ES) + 5. Quasi-MonteCarlo **(new in v0.5.0)** + 6. Random + 7. Grid - Number of trial - This number of trials will be performed. + - Bayesian optimization first performs random sampling to create a surrogate model. This is the setting for how many trials random sampling is performed. + - The original paper recommends “number of variables” \* 11-1. - If the grid sampler is selected, the calculation is performed by dividing each entered Variable by this number. - **Note** that the number of calculations is (Number of trial) to the power of (Number of Variable). - Timeout(sec) @@ -163,7 +172,7 @@ Values that can be set and their meanings are as follows. #### :boat: Visualize Tab -image +image Values that can be set and their meanings are as follows. @@ -181,12 +190,15 @@ Values that can be set and their meanings are as follows. 6. param importance 7. pareto front 8. slice -- Show selected type of plots - - Show the plot selected in Visualize type above. + 9. hypervolume **(new in v0.5.0)** + - Show selected type of plots + - Show the plot selected in Visualize type above. +- k-means clustering + - Cluster the results of the Pareto front when performing multi-objective optimization.Any number of clusters can be specified. #### :fishing_pole_and_fish: Output Tab -image +image Values that can be set and their meanings are as follows. @@ -197,11 +209,8 @@ Values that can be set and their meanings are as follows. - All trials - Output all trials. - Use model number - - Multiple values can be entered separated by commas, such as "1,3,42". - - Output - - The model with the number entered here is restored from the optimization results file and is the output of the component. - The model number can be found on each plot. - In the example below, model number 424 with a value of -11.49 for the first objective function is selected. @@ -213,36 +222,28 @@ Values that can be set and their meanings are as follows. #### :droplet: Settings Tab -image - -Tunny stores the optimize settings in json. -Detailed settings in optimization can now also be configured in Json. - -- **IMPORTANT**: The default hyperparameter for each optimization contain Optuna defaults. - - These are not necessarily the best values for your optimization. - - Pay particular attention to the initial population or trial. - - the recommended initial trial for TPE is "the number of Variable" x 11 - 1. -- Open API page - - Open Optuna's API page with the meaning of each value in the advanced optimization settings. -- Save settings to json - - Save the settings to Json. - - Settings are also saved when the window is closed with the X button. -- Load settings from json - - Loads a settings file. -- Open Settings.Json folder - - Open the folder where the settings files are stored. - - The file Settings.json is Tunny's settings file. Edit it with any text editor. +image + +**(new in v0.5.0)** +Allows detailed optimization settings to be performed in the UI. +See below for the meaning of each setting. + +[Guideline for selecting optimization algorithms](https://graceful-stag-dae.notion.site/Guidelines-for-Selecting-a-Optimization-Algorithm-8505b2e020ee4af2a77272f25acc6094) #### :turtle: File Tab -image +image + +- Result + - Open result file folder + - Open the folder where the file containing the optimization results is located. + - Results are saved as "Tunny_Opt_Result.db" by default. + - This can be made to be anything you want by rewriting the Setting.json file. + - Clear result file + - Deletes the optimization result file. +- License **(new in v0.5.0)** + - You can check license to push each button. -- Open result file folder - - Open the folder where the file containing the optimization results is located. - - Results are saved as "Tunny_Opt_Result.db" by default. - - This can be made to be anything you want by rewriting the Setting.json file. -- Clear result file - - Deletes the optimization result file. ## :surfer: Contact information diff --git a/Samples/sample.gh b/Samples/sample.gh index 798c6506..899957f7 100644 Binary files a/Samples/sample.gh and b/Samples/sample.gh differ diff --git a/Tunny/Component/ConstructFishAttribute.cs b/Tunny/Component/ConstructFishAttribute.cs index d3071ecf..e79e3c66 100644 --- a/Tunny/Component/ConstructFishAttribute.cs +++ b/Tunny/Component/ConstructFishAttribute.cs @@ -12,7 +12,8 @@ namespace Tunny.Component { public class ConstructFishAttribute : GH_Component, IGH_VariableParameterComponent { - private readonly string _geomDescription = "Connect model geometries here. Not required. Large size models are not recommended as it affects the speed of analysis.\"Geometry\" is a special nickname that is visualized with the optimization results. Do not change it."; + private readonly string _geomDescription = "Connect model geometries here. Not required. Large size models are not recommended as it affects the speed of analysis."; + private readonly string _constraintDescription = "A value strictly larger than 0 means that a constraints is violated. A value equal to or smaller than 0 is considered feasible. "; private readonly string _attrDescription = "Attributes to each trial. Attribute name will be the nickname of the input, so change it to any value."; public override GH_Exposure Exposure => GH_Exposure.secondary; @@ -26,11 +27,13 @@ public ConstructFishAttribute() protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddGeometryParameter("Geometry", "Geometry", _geomDescription, GH_ParamAccess.list); + pManager.AddNumberParameter("Constraint", "Constraint", _constraintDescription, GH_ParamAccess.item); pManager.AddGenericParameter("Attr1", "Attr1", _attrDescription, GH_ParamAccess.list); pManager.AddGenericParameter("Attr2", "Attr2", _attrDescription, GH_ParamAccess.list); Params.Input[0].Optional = true; Params.Input[1].Optional = true; Params.Input[2].Optional = true; + Params.Input[3].Optional = true; } protected override void RegisterOutputParams(GH_OutputParamManager pManager) @@ -49,18 +52,33 @@ protected override void SolveInstance(IGH_DataAccess DA) return; } + GetInputData(DA, paramCount, dict); + DA.SetData(0, dict); + } + + private void GetInputData(IGH_DataAccess DA, int paramCount, Dictionary dict) + { for (int i = 0; i < paramCount; i++) { - var list = new List(); - if (!DA.GetDataList(i, list)) + string key = Params.Input[i].NickName; + if (i == 1) { - continue; + double constraint = 0; + if (DA.GetData(i, ref constraint)) + { + dict.Add(key, constraint); + } + } + else + { + var list = new List(); + if (!DA.GetDataList(i, list)) + { + continue; + } + dict.Add(key, list); } - string key = Params.Input[i].NickName; - dict.Add(key, list); } - - DA.SetData(0, dict); } //FIXME: Should be modified to capture and check for change events. @@ -79,13 +97,19 @@ private bool CheckIsNicknameDuplicated() return false; } - public bool CanInsertParameter(GH_ParameterSide side, int index) => side != GH_ParameterSide.Output && (Params.Input.Count == 0 || index != 0); + public bool CanInsertParameter(GH_ParameterSide side, int index) => side != GH_ParameterSide.Output && (Params.Input.Count == 0 || index >= 2); - public bool CanRemoveParameter(GH_ParameterSide side, int index) => side != GH_ParameterSide.Output && index != 0; + public bool CanRemoveParameter(GH_ParameterSide side, int index) => side != GH_ParameterSide.Output && index >= 2; public IGH_Param CreateParameter(GH_ParameterSide side, int index) { - return side == GH_ParameterSide.Input ? index == 0 ? SetGeometryParameterInput() : SetGenericParameterInput(index) : null; + return side == GH_ParameterSide.Input + ? index == 0 + ? SetGeometryParameterInput() + : index == 1 + ? SetNumberParameterInput() + : SetGenericParameterInput(index) + : null; } private IGH_Param SetGenericParameterInput(int index) @@ -98,12 +122,23 @@ private IGH_Param SetGenericParameterInput(int index) return p; } + private IGH_Param SetNumberParameterInput() + { + var p = new Param_Number(); + p.Name = p.NickName = $"Constraint"; + p.Description = _constraintDescription; + p.Access = GH_ParamAccess.list; + p.MutableNickName = false; + p.Optional = true; + return p; + } + private IGH_Param SetGeometryParameterInput() { var p = new Param_Geometry(); p.Name = p.NickName = "Geometry"; p.Description = _geomDescription; - p.Access = GH_ParamAccess.list; + p.Access = GH_ParamAccess.item; p.MutableNickName = false; p.Optional = true; return p; diff --git a/Tunny/Component/FishMarket.cs b/Tunny/Component/FishMarket.cs index 53b6955b..7dc2f5da 100644 --- a/Tunny/Component/FishMarket.cs +++ b/Tunny/Component/FishMarket.cs @@ -2,11 +2,13 @@ using System.Collections.Generic; using System.Drawing; using System.Linq; +using System.Windows.Forms; using Grasshopper.Kernel; using Grasshopper.Kernel.Data; using Grasshopper.Kernel.Types; +using Rhino; using Rhino.Display; using Rhino.Geometry; @@ -171,6 +173,31 @@ public override void DrawViewportWires(IGH_PreviewArgs args) } } + public override void BakeGeometry(RhinoDoc doc, List obj_ids) + { + base.BakeGeometry(doc, obj_ids); + + for (int i = 0; i < _fishes.Count; i++) + { + doc.Objects.AddText(_fishes[i].ToString(), _tagPlanes[i], _size, "Meiryo", false, false, TextJustification.TopLeft); + } + } + + public override void AppendAdditionalMenuItems(ToolStripDropDown menu) + { + base.AppendAdditionalMenuItems(menu); + ToolStripMenuItem item = Menu_AppendItem(menu, "Bake with Text", BakeGeometryFromMenu); + item.ToolTipText = "Bake not only geometry, but also result texts."; + } + + private void BakeGeometryFromMenu(object sender, EventArgs e) + { + RhinoDoc doc = RhinoDoc.ActiveDoc; + var objIds = new List(); + BakeGeometry(doc, objIds); + doc.Views.Redraw(); + } + protected override Bitmap Icon => Resource.FishMarket; public override Guid ComponentGuid => new Guid("46E05DFF-8EFD-418A-AC5B-7C9F24559B2E"); diff --git a/Tunny/Lib/requirements.txt b/Tunny/Lib/requirements.txt index 27e34278..4b3d926a 100644 --- a/Tunny/Lib/requirements.txt +++ b/Tunny/Lib/requirements.txt @@ -1,19 +1,23 @@ alembic==1.8.0 attrs==21.4.0 autopage==0.5.1 +botorch==0.6.5 bottle==0.12.21 cliff==3.10.1 cmaes==0.8.2 cmd2==2.4.1 colorama==0.4.5 colorlog==6.6.0 +gpytorch==1.8.0 greenlet==1.1.2 joblib==1.1.0 Mako==1.2.0 MarkupSafe==2.1.1 +multipledispatch==0.6.0 numpy==1.23.0 -optuna==2.10.1 -optuna-dashboard==0.7.1 +opt-einsum==3.3.0 +optuna==3.0.0 +optuna-dashboard==0.7.2 packaging==21.3 pbr==5.9.0 plotly==5.9.0 @@ -21,12 +25,17 @@ prettytable==3.3.0 pyparsing==3.0.9 pyperclip==1.8.2 pyreadline3==3.4.1 +pyro-api==0.1.2 +pyro-ppl==1.8.1 PyYAML==6.0 scikit-learn==1.1.1 scipy==1.8.1 +six==1.16.0 SQLAlchemy==1.4.39 stevedore==3.5.0 tenacity==8.0.1 threadpoolctl==3.1.0 +torch==1.12.0 tqdm==4.64.0 +typing_extensions==4.3.0 wcwidth==0.2.5 diff --git a/Tunny/Optimization/OptimizeLoop.cs b/Tunny/Optimization/OptimizeLoop.cs index 150368b8..72e23e2e 100644 --- a/Tunny/Optimization/OptimizeLoop.cs +++ b/Tunny/Optimization/OptimizeLoop.cs @@ -48,14 +48,14 @@ private static double[] RunOptimizationLoop(BackgroundWorker worker) { List variables = s_component.GhInOut.Variables; List objectives = s_component.GhInOut.Objectives; + bool hasConstraint = s_component.GhInOut.HasConstraint; if (worker.CancellationPending) { return new[] { double.NaN }; } - var optunaSolver = new Optuna(s_component.GhInOut.ComponentFolder, Settings); - + var optunaSolver = new Optuna(s_component.GhInOut.ComponentFolder, Settings, hasConstraint); bool solverStarted = optunaSolver.RunSolver(variables, objectives, EvaluateFunction); return solverStarted ? optunaSolver.XOpt : new[] { double.NaN }; diff --git a/Tunny/Optimization/OutputLoop.cs b/Tunny/Optimization/OutputLoop.cs index 725b6cf9..d295b973 100644 --- a/Tunny/Optimization/OutputLoop.cs +++ b/Tunny/Optimization/OutputLoop.cs @@ -32,7 +32,7 @@ internal static void Run(object sender, DoWorkEventArgs e) var fishes = new List(); - var optunaSolver = new Optuna(s_component.GhInOut.ComponentFolder, Settings); + var optunaSolver = new Optuna(s_component.GhInOut.ComponentFolder, Settings, s_component.GhInOut.HasConstraint); ModelResult[] modelResult = optunaSolver.GetModelResult(Indices, StudyName, s_worker); if (modelResult.Length == 0) { @@ -104,7 +104,10 @@ private static Dictionary SetAttributes(ModelResult model) var geometries = new List(); foreach (string json in attr.Value) { - geometries.Add(Rhino.Runtime.CommonObject.FromJSON(json) as GeometryBase); + if (!string.IsNullOrEmpty(json)) + { + geometries.Add(Rhino.Runtime.CommonObject.FromJSON(json) as GeometryBase); + } } attribute.Add(attr.Key, geometries); } diff --git a/Tunny/Settings/BoTorch.cs b/Tunny/Settings/BoTorch.cs new file mode 100644 index 00000000..f69d632a --- /dev/null +++ b/Tunny/Settings/BoTorch.cs @@ -0,0 +1,10 @@ +namespace Tunny.Settings +{ + /// + /// https://optuna.readthedocs.io/en/stable/reference/generated/optuna.integration.BoTorchSampler.html + /// + public class BoTorch + { + public int NStartupTrials { get; set; } = 10; + } +} diff --git a/Tunny/Settings/CmaEs.cs b/Tunny/Settings/CmaEs.cs index 11e086ae..cabbce29 100644 --- a/Tunny/Settings/CmaEs.cs +++ b/Tunny/Settings/CmaEs.cs @@ -10,8 +10,9 @@ public class CmaEs public int NStartupTrials { get; set; } = 1; public bool WarnIndependentSampling { get; set; } = true; public bool ConsiderPrunedTrials { get; set; } - public string RestartStrategy { get; set; } + public string RestartStrategy { get; set; } = string.Empty; public int IncPopsize { get; set; } = 2; + public int? PopulationSize { get; set; } public bool UseSeparableCma { get; set; } } } diff --git a/Tunny/Settings/NSGAII.cs b/Tunny/Settings/NSGAII.cs index f15f24fc..a0c07ea1 100644 --- a/Tunny/Settings/NSGAII.cs +++ b/Tunny/Settings/NSGAII.cs @@ -8,6 +8,7 @@ public class NSGAII public int? Seed { get; set; } public double? MutationProb { get; set; } public int PopulationSize { get; set; } = 50; + public string Crossover { get; set; } = string.Empty; public double CrossoverProb { get; set; } = 0.9; public double SwappingProb { get; set; } = 0.5; } diff --git a/Tunny/Settings/Optimize.cs b/Tunny/Settings/Optimize.cs index a4d59f8f..b7b64968 100644 --- a/Tunny/Settings/Optimize.cs +++ b/Tunny/Settings/Optimize.cs @@ -1,3 +1,5 @@ +using Tunny.Solver.Optuna; + namespace Tunny.Settings { public class Optimize @@ -7,5 +9,6 @@ public class Optimize public bool LoadExistStudy { get; set; } = true; public int SelectSampler { get; set; } public double Timeout { get; set; } + public GcAfterTrial GcAfterTrial { get; set; } = GcAfterTrial.HasGeometry; } } diff --git a/Tunny/Settings/QMC.cs b/Tunny/Settings/QMC.cs new file mode 100644 index 00000000..0eff32af --- /dev/null +++ b/Tunny/Settings/QMC.cs @@ -0,0 +1,14 @@ +namespace Tunny.Settings +{ + /// + /// https://optuna.readthedocs.io/en/latest/reference/samplers/generated/optuna.samplers.QMCSampler.html + /// + public class QuasiMonteCarlo + { + public string QmcType { get; set; } = "sobol"; + public bool Scramble { get; set; } + public int? Seed { get; set; } + public bool WarnIndependentSampling { get; set; } = true; + public bool WarnAsynchronousSeeding { get; set; } = true; + } +} diff --git a/Tunny/Settings/Result.cs b/Tunny/Settings/Result.cs index 3d721548..e3846293 100644 --- a/Tunny/Settings/Result.cs +++ b/Tunny/Settings/Result.cs @@ -4,5 +4,6 @@ public class Result { public string OutputNumberString { get; set; } = "0"; public int SelectVisualizeType { get; set; } = 3; + public int NumberOfClusters { get; set; } = 3; } } diff --git a/Tunny/Settings/Sampler.cs b/Tunny/Settings/Sampler.cs index 4829a008..0227bf85 100644 --- a/Tunny/Settings/Sampler.cs +++ b/Tunny/Settings/Sampler.cs @@ -9,5 +9,7 @@ public class Sampler public Tpe Tpe { get; set; } = new Tpe(); public CmaEs CmaEs { get; set; } = new CmaEs(); public NSGAII NsgaII { get; set; } = new NSGAII(); + public QuasiMonteCarlo QMC { get; set; } = new QuasiMonteCarlo(); + public BoTorch BoTorch { get; set; } = new BoTorch(); } } diff --git a/Tunny/Settings/Tpe.cs b/Tunny/Settings/Tpe.cs index 8888b7eb..0900e3fc 100644 --- a/Tunny/Settings/Tpe.cs +++ b/Tunny/Settings/Tpe.cs @@ -12,7 +12,7 @@ public class Tpe public bool ConsiderEndpoints { get; set; } public int NStartupTrials { get; set; } = 10; public int NEICandidates { get; set; } = 24; - public bool Multivariate { get; set; } + public bool Multivariate { get; set; } = true; public bool Group { get; set; } public bool WarnIndependentSampling { get; set; } = true; public bool ConstantLiar { get; set; } diff --git a/Tunny/Solver/EndState.cs b/Tunny/Solver/EndState.cs new file mode 100644 index 00000000..7d533381 --- /dev/null +++ b/Tunny/Solver/EndState.cs @@ -0,0 +1,12 @@ +namespace Tunny.Solver +{ + public enum EndState + { + AllTrialCompleted, + Timeout, + StoppedByUser, + DirectionNumNotMatch, + UseExitStudyWithoutLoading, + Error + } +} diff --git a/Tunny/Solver/Optuna/Algorithm.cs b/Tunny/Solver/Optuna/Algorithm.cs index 609e6233..48211d19 100644 --- a/Tunny/Solver/Optuna/Algorithm.cs +++ b/Tunny/Solver/Optuna/Algorithm.cs @@ -7,6 +7,7 @@ using Tunny.Optimization; using Tunny.Settings; +using Tunny.UI; using Tunny.Util; namespace Tunny.Solver.Optuna @@ -14,6 +15,7 @@ namespace Tunny.Solver.Optuna public class Algorithm { private List Variables { get; set; } + private bool HasConstraints { get; set; } private string[] ObjNickName { get; set; } private TunnySettings Settings { get; set; } private Func EvalFunc { get; set; } @@ -22,11 +24,12 @@ public class Algorithm public EndState EndState { get; set; } public Algorithm( - List variables, string[] objNickName, + List variables, bool hasConstraint, string[] objNickName, TunnySettings settings, Func evalFunc) { Variables = variables; + HasConstraints = hasConstraint; ObjNickName = objNickName; Settings = settings; EvalFunc = evalFunc; @@ -46,7 +49,7 @@ public void Solve() using (Py.GIL()) { dynamic optuna = Py.Import("optuna"); - dynamic sampler = SetSamplerSettings(samplerType, ref nTrials, optuna); + dynamic sampler = SetSamplerSettings(samplerType, ref nTrials, optuna, HasConstraints); if (CheckExistStudyParameter(nObjective, optuna)) { @@ -95,16 +98,14 @@ private static string[] SetDirectionValues(int nObjective) private bool CheckExistStudyParameter(int nObjective, dynamic optuna) { PyList studySummaries = optuna.get_all_study_summaries("sqlite:///" + Settings.Storage); - var directions = new Dictionary(); + var studySummaryDict = new Dictionary(); foreach (dynamic pyObj in studySummaries) { - directions.Add((string)pyObj.study_name, (int)pyObj.directions.__len__()); + studySummaryDict.Add((string)pyObj.study_name, (int)pyObj.directions.__len__()); } - return directions.ContainsKey(Settings.StudyName) - ? CheckDirections(nObjective, directions) - : directions.Count == 0; + return !studySummaryDict.ContainsKey(Settings.StudyName) || CheckDirections(nObjective, studySummaryDict); } private bool CheckDirections(int nObjective, Dictionary directions) @@ -187,7 +188,9 @@ private void RunOptimize(int nTrials, double timeout, dynamic study, out double[ { for (int j = 0; j < Variables.Count; j++) { - xTest[j] = trial.suggest_uniform(Variables[j].NickName, Variables[j].LowerBond, Variables[j].UpperBond); + xTest[j] = Variables[j].IsInteger + ? trial.suggest_int(Variables[j].NickName, Variables[j].LowerBond, Variables[j].UpperBond, step: Variables[j].Epsilon) + : trial.suggest_float(Variables[j].NickName, Variables[j].LowerBond, Variables[j].UpperBond, step: Variables[j].Epsilon); } result = EvalFunc(xTest, progress); @@ -210,10 +213,26 @@ private void RunOptimize(int nTrials, double timeout, dynamic study, out double[ catch { } + finally + { + RunGC(result); + } trialNum++; } } + private void RunGC(EvaluatedGHResult result) + { + GcAfterTrial gcAfterTrial = Settings.Optimize.GcAfterTrial; + if (gcAfterTrial == GcAfterTrial.Always || + (result.GeometryJson.Count > 0 && gcAfterTrial == GcAfterTrial.HasGeometry) + ) + { + dynamic gc = Py.Import("gc"); + gc.collect(); + } + } + private static void SetStudyUserAttr(dynamic study, StringBuilder name) { study.set_user_attr("objective_names", name.ToString()); @@ -234,41 +253,66 @@ private static void SetTrialUserAttr(EvaluatedGHResult result, dynamic trial) if (result.Attribute != null) { - foreach (KeyValuePair> pair in result.Attribute) + SetNonGeometricAttr(result, trial); + } + } + + private static void SetNonGeometricAttr(EvaluatedGHResult result, dynamic trial) + { + foreach (KeyValuePair> pair in result.Attribute) + { + var pyList = new PyList(); + if (pair.Key == "Constraint") + { + foreach (string str in pair.Value) + { + pyList.Append(new PyFloat(double.Parse(str))); + } + } + else { - var pyList = new PyList(); foreach (string str in pair.Value) { pyList.Append(new PyString(str)); } - trial.set_user_attr(pair.Key, pyList); } + trial.set_user_attr(pair.Key, pyList); } } - private dynamic SetSamplerSettings(int samplerType, ref int nTrials, dynamic optuna) + private dynamic SetSamplerSettings(int samplerType, ref int nTrials, dynamic optuna, bool hasConstraints) { dynamic sampler; switch (samplerType) { case 0: - sampler = Sampler.TPE(optuna, Settings); + sampler = Sampler.TPE(optuna, Settings, hasConstraints); break; case 1: - sampler = Sampler.NSGAII(optuna, Settings); + sampler = Sampler.BoTorch(optuna, Settings, hasConstraints); break; case 2: - sampler = Sampler.CmaEs(optuna, Settings); + sampler = Sampler.NSGAII(optuna, Settings, hasConstraints); break; case 3: - sampler = Sampler.Random(optuna, Settings); + sampler = Sampler.CmaEs(optuna, Settings); break; case 4: + sampler = Sampler.QMC(optuna, Settings); + break; + case 5: + sampler = Sampler.Random(optuna, Settings); + break; + case 6: sampler = Sampler.Grid(optuna, Variables, ref nTrials); break; default: throw new ArgumentException("Unknown sampler type"); } + if (samplerType > 2 && hasConstraints) + { + TunnyMessageBox.Show("Only TPE, GP and NSGAII support constraints. Optimization is run without considering constraints.", "Tunny"); + } return sampler; } @@ -284,13 +328,10 @@ public double[] GetFxOptimum() } - public enum EndState + public enum GcAfterTrial { - AllTrialCompleted, - Timeout, - StoppedByUser, - DirectionNumNotMatch, - UseExitStudyWithoutLoading, - Error + Always, + HasGeometry, + NoExecute, } } diff --git a/Tunny/Solver/Optuna/Hypervolume.cs b/Tunny/Solver/Optuna/Hypervolume.cs new file mode 100644 index 00000000..275e11e1 --- /dev/null +++ b/Tunny/Solver/Optuna/Hypervolume.cs @@ -0,0 +1,79 @@ +using System.Collections.Generic; +using System.Linq; + +using Python.Runtime; + +namespace Tunny.Solver.Optuna +{ + public static class Hypervolume + { + public static dynamic CreateFigure(dynamic optuna, dynamic study) + { + + var trials = (dynamic[])study.trials; + int objectivesCount = ((double[])trials[0].values).Length; + var trialValues = new List(); + foreach (dynamic trial in trials) + { + trialValues.Add((double[])trial.values); + } + double[] maxObjectiveValues = new double[objectivesCount]; + for (int i = 0; i < objectivesCount; i++) + { + maxObjectiveValues[i] = trialValues.Select(v => v[i]).Max(); + } + + PyList hvs = ComputeHypervolume(optuna, trials, maxObjectiveValues, out PyList trialNumbers); + return CreateHypervolumeFigure(trials, hvs, trialNumbers); + } + + private static PyList ComputeHypervolume(dynamic optuna, dynamic[] trials, double[] maxObjectiveValues, out PyList trialNumbers) + { + dynamic np = Py.Import("numpy"); + + var hvs = new PyList(); + var rpObj = new PyList(); + trialNumbers = new PyList(); + + foreach (double max in maxObjectiveValues) + { + rpObj.Append(new PyFloat(max)); + } + dynamic referencePoint = np.array(rpObj); + + dynamic wfg = optuna._hypervolume.WFG(); + for (int i = 1; i < trials.Length + 1; i++) + { + var vector = new PyList(); + for (int j = 0; j < i; j++) + { + vector.Append(trials[j].values); + } + hvs.Append(wfg.compute(np.array(vector), referencePoint)); + trialNumbers.Append(new PyInt(i)); + } + return hvs; + } + + private static dynamic CreateHypervolumeFigure(dynamic[] trials, PyList hvs, PyList trialNumbers) + { + dynamic go = Py.Import("plotly.graph_objects"); + + var plotItems = new PyDict(); + plotItems.SetItem("x", trialNumbers); + plotItems.SetItem("y", hvs); + + var plotRange = new PyDict(); + var rangeObj = new PyObject[] { new PyFloat(0), new PyFloat(trials.Length + 1) }; + plotRange.SetItem("range", new PyList(rangeObj)); + + dynamic fig = go.Figure(); + fig.add_trace(go.Scatter(plotItems, name: "Hypervolume")); + fig.update_layout(xaxis: plotRange); + fig.update_xaxes(title_text: "#Trials"); + fig.update_yaxes(title_text: "Hypervolume"); + + return fig; + } + } +} diff --git a/Tunny/Solver/Optuna/Optuna.cs b/Tunny/Solver/Optuna/Optuna.cs index f65b8fa8..f70a9cbd 100644 --- a/Tunny/Solver/Optuna/Optuna.cs +++ b/Tunny/Solver/Optuna/Optuna.cs @@ -19,12 +19,14 @@ public class Optuna { public double[] XOpt { get; private set; } private readonly string _componentFolder; + private readonly bool _hasConstraint; private readonly TunnySettings _settings; - public Optuna(string componentFolder, TunnySettings settings) + public Optuna(string componentFolder, TunnySettings settings, bool hasConstraint) { _componentFolder = componentFolder; _settings = settings; + _hasConstraint = hasConstraint; string envPath = PythonInstaller.GetEmbeddedPythonPath() + @"\python310.dll"; Environment.SetEnvironmentVariable("PYTHONNET_PYDLL", envPath, EnvironmentVariableTarget.Process); } @@ -44,7 +46,7 @@ EvaluatedGHResult Eval(double[] x, int progress) try { - var optimize = new Algorithm(variables, objNickName, _settings, Eval); + var optimize = new Algorithm(variables, _hasConstraint, objNickName, _settings, Eval); optimize.Solve(); XOpt = optimize.GetXOptimum(); @@ -87,26 +89,36 @@ private static void ShowErrorMessages(Exception e) { TunnyMessageBox.Show( "Tunny runtime error:\n" + - "Please send below message (& gh file if possible) to Tunny support.\n\n" + + "Please send below message (& gh file if possible) to Tunny support.\n" + + "If this error occurs, the Tunny solver will not work after this unless Rhino is restarted.\n\n" + "\" " + e.Message + " \"", "Tunny", MessageBoxButtons.OK, MessageBoxIcon.Error); } + private static dynamic LoadStudy(dynamic optuna, string storage, string studyName) + { + try + { + return optuna.load_study(storage: storage, study_name: studyName); + } + catch (Exception e) + { + TunnyMessageBox.Show(e.Message, "Tunny", MessageBoxButtons.OK, MessageBoxIcon.Error); + return null; + } + + } + public void ShowSelectedTypePlot(string visualize, string studyName) { string storage = "sqlite:///" + _settings.Storage; PythonEngine.Initialize(); using (Py.GIL()) { - dynamic study; dynamic optuna = Py.Import("optuna"); - try + dynamic study = LoadStudy(optuna, storage, studyName); + if (study == null) { - study = optuna.load_study(storage: storage, study_name: studyName); - } - catch (Exception e) - { - TunnyMessageBox.Show(e.Message, "Tunny", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } @@ -123,40 +135,158 @@ public void ShowSelectedTypePlot(string visualize, string studyName) PythonEngine.Shutdown(); } - private static void ShowPlot(dynamic optuna, string visualize, dynamic study, string[] nickNames) + private void ShowPlot(dynamic optuna, string visualize, dynamic study, string[] nickNames) { - dynamic vis; switch (visualize) { case "contour": - vis = optuna.visualization.plot_contour(study, target_name: nickNames[0]); + optuna.visualization.plot_contour(study, target_name: nickNames[0]).show(); break; case "EDF": - vis = optuna.visualization.plot_edf(study, target_name: nickNames[0]); + optuna.visualization.plot_edf(study, target_name: nickNames[0]).show(); break; case "intermediate values": - vis = optuna.visualization.plot_intermediate_values(study); + optuna.visualization.plot_intermediate_values(study).show(); break; case "optimization history": - vis = optuna.visualization.plot_optimization_history(study, target_name: nickNames[0]); + optuna.visualization.plot_optimization_history(study, target_name: nickNames[0]).show(); break; case "parallel coordinate": - vis = optuna.visualization.plot_parallel_coordinate(study, target_name: nickNames[0]); + optuna.visualization.plot_parallel_coordinate(study, target_name: nickNames[0]).show(); break; case "param importances": - vis = optuna.visualization.plot_param_importances(study, target_name: nickNames[0]); + optuna.visualization.plot_param_importances(study, target_name: nickNames[0]).show(); break; case "pareto front": - vis = optuna.visualization.plot_pareto_front(study, target_names: nickNames); + dynamic fig = optuna.visualization.plot_pareto_front(study, target_names: nickNames, constraints_func: _hasConstraint ? Sampler.ConstraintFunc() : null); + TruncateParetoFrontPlotHover(fig, study).show(); break; case "slice": - vis = optuna.visualization.plot_slice(study, target_name: nickNames[0]); + optuna.visualization.plot_slice(study, target_name: nickNames[0]).show(); + break; + case "hypervolume": + Hypervolume.CreateFigure(optuna, study).show(); break; default: TunnyMessageBox.Show("This visualization type is not supported in this study case.", "Tunny"); return; } - vis.show(); + } + + private static dynamic TruncateParetoFrontPlotHover(dynamic fig, dynamic study) + { + PyModule ps = Py.CreateScope(); + ps.Exec( + "def truncate(fig, study):\n" + + " import json\n" + + " user_attr = study.trials[0].user_attrs\n" + + " has_geometry = 'Geometry' in user_attr\n" + + " if has_geometry == False:\n" + + " return fig\n" + + " for scatter_id in range(len(fig.data)):\n" + + " new_texts = []\n" + + " for i, original_label in enumerate(fig.data[scatter_id]['text']):\n" + + " json_label = json.loads(original_label.replace('
', '\\n'))\n" + + " json_label['user_attrs'].pop('Geometry')\n" + + " new_texts.append(json.dumps(json_label, indent=2).replace('\\n', '
'))\n" + + " fig.data[scatter_id]['text'] = new_texts\n" + + " return fig\n" + ); + dynamic truncate = ps.Get("truncate"); + return truncate(fig, study); + } + + public void ShowClusteringPlot(string studyName, int numCluster) + { + string storage = "sqlite:///" + _settings.Storage; + PythonEngine.Initialize(); + using (Py.GIL()) + { + dynamic optuna = Py.Import("optuna"); + dynamic study = LoadStudy(optuna, storage, studyName); + if (study == null) + { + return; + } + + string[] nickNames = ((string)study.user_attrs["objective_names"]).Split(','); + if (nickNames.Length == 1) + { + TunnyMessageBox.Show("Clustering Error\n\nClustering is for multi-objective optimization only.", "Tunny", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + else + { + ShowCluster(optuna, study, nickNames, numCluster); + } + } + PythonEngine.Shutdown(); + } + + private void ShowCluster(dynamic optuna, dynamic study, string[] nickNames, int numCluster) + { + try + { + dynamic fig = optuna.visualization.plot_pareto_front(study, target_names: nickNames, constraints_func: _hasConstraint ? Sampler.ConstraintFunc() : null); + fig = TruncateParetoFrontPlotHover(fig, study); + ClusteringParetoFrontPlot(fig, study, numCluster).show(); + } + catch (Exception) + { + TunnyMessageBox.Show("Clustering Error", "Tunny", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + } + + private static dynamic ClusteringParetoFrontPlot(dynamic fig, dynamic study, int numCluster) + { + PyModule ps = Py.CreateScope(); + //FIXME: Rewrite to c-sharp code. + ps.Exec( + "def clustering(fig, study, num):\n" + + " from sklearn.cluster import KMeans\n" + + " import optuna\n" + + + " if 'Constraint' in study.trials[0].user_attrs:\n" + + " feasible_trials = []\n" + + " infeasible_trials = []\n" + + " for trial in study.get_trials(deepcopy=False, states=(optuna.trial.TrialState.COMPLETE,)):\n" + + " if all(map(lambda x: x <= 0.0, trial.user_attrs['Constraint'])):\n" + + " feasible_trials.append(trial)\n" + + " else:\n" + + " infeasible_trials.append(trial)\n" + + " best_trials = optuna.visualization._pareto_front._get_pareto_front_trials_by_trials(\n" + + " feasible_trials, study.directions)\n" + + " non_best_trials = optuna.visualization._pareto_front._get_non_pareto_front_trials(\n" + + " feasible_trials, best_trials)\n" + + " else:\n" + + " best_trials = study.best_trials\n" + + + " non_best_trials = optuna.visualization._pareto_front._get_non_pareto_front_trials(\n" + + " study.get_trials(deepcopy=False, states=(optuna.trial.TrialState.COMPLETE,)), best_trials\n" + + " )\n" + + " infeasible_trials = []\n" + + + " best_values = [trial.values for trial in best_trials]\n" + + " kmeans = KMeans(n_clusters=num).fit(best_values)\n" + + " labels = kmeans.labels_\n" + + " best_length = len(best_values)\n" + + + " for scatter_id in range(len(fig.data)):\n" + + " color = fig.data[scatter_id]['marker']['color']\n" + + " if (len(color) == best_length):\n" + + " fig.data[scatter_id]['marker']['color'] = labels\n" + + " fig.data[scatter_id]['marker']['colorscale'] = 'rainbow'\n" + + " fig.data[scatter_id]['marker']['colorbar']['title'] = '# Cluster'\n" + + " elif fig.data[scatter_id]['marker']['color'] == '#cccccc':\n" + + " pass\n" + + " else:\n" + + " new_color = ['#cccccc' for c in color]\n" + + " fig.data[scatter_id]['marker']['color'] = new_color\n" + + " fig.data[scatter_id]['marker'].pop('colorscale')\n" + + " fig.data[scatter_id]['marker'].pop('colorbar')\n" + + " return fig\n" + ); + dynamic clustering = ps.Get("clustering"); + return clustering(fig, study, numCluster); } public ModelResult[] GetModelResult(int[] resultNum, string studyName, BackgroundWorker worker) @@ -238,15 +368,34 @@ private void ParatoSolutions(List modelResult, dynamic study, Backg for (int i = 0; i < bestTrials.Length; i++) { dynamic trial = bestTrials[i]; + bool isFeasible = CheckFeasible(trial); if (OutputLoop.IsForcedStopOutput) { break; } - ParseTrial(modelResult, trial); + if (isFeasible) + { + ParseTrial(modelResult, trial); + } worker.ReportProgress(i * 100 / bestTrials.Length); } } + private static bool CheckFeasible(dynamic trial) + { + string[] keys = (string[])trial.user_attrs.keys(); + if (keys.Contains("Constraint")) + { + double[] constraint = (double[])trial.user_attrs["Constraint"]; + if (constraint.Max() > 0) + { + return false; + } + } + + return true; + } + private static void ParseTrial(ICollection modelResult, dynamic trial) { var trialResult = new ModelResult @@ -281,10 +430,19 @@ private static Dictionary> ParseAttributes(dynamic trial) string[] keys = (string[])trial.user_attrs.keys(); for (int i = 0; i < keys.Length; i++) { - string[] values = (string[])trial.user_attrs[keys[i]]; - attributes.Add(keys[i], values.ToList()); + var values = new List(); + if (keys[i] == "Constraint") + { + double[] constraint = (double[])trial.user_attrs[keys[i]]; + values = constraint.Select(v => v.ToString()).ToList(); + } + else + { + string[] valueArray = (string[])trial.user_attrs[keys[i]]; + values = valueArray.ToList(); + } + attributes.Add(keys[i], values); } - return attributes; } } diff --git a/Tunny/Solver/Optuna/Sampler.cs b/Tunny/Solver/Optuna/Sampler.cs index 45b63e0e..5e4eda44 100644 --- a/Tunny/Solver/Optuna/Sampler.cs +++ b/Tunny/Solver/Optuna/Sampler.cs @@ -1,6 +1,8 @@ using System; using System.Collections.Generic; +using Python.Runtime; + using Tunny.Settings; using Tunny.Util; @@ -25,29 +27,30 @@ internal static dynamic CmaEs(dynamic optuna, TunnySettings settings) warn_independent_sampling: cmaEs.WarnIndependentSampling, seed: cmaEs.Seed, consider_pruned_trials: cmaEs.ConsiderPrunedTrials, - restart_strategy: cmaEs.RestartStrategy, + restart_strategy: cmaEs.RestartStrategy == string.Empty ? null : cmaEs.RestartStrategy, inc_popsize: cmaEs.IncPopsize, + popsize: cmaEs.PopulationSize, use_separable_cma: cmaEs.UseSeparableCma ); } internal static dynamic Grid(dynamic optuna, List variables, ref int nTrials) { - var searchSpace = new Dictionary>(); + var searchSpace = new PyDict(); for (int i = 0; i < variables.Count; i++) { - var numSpace = new List(); + var numSpace = new PyList(); for (int j = 0; j < nTrials; j++) { - numSpace.Add(variables[i].LowerBond + (variables[i].UpperBond - variables[i].LowerBond) * j / (nTrials - 1)); + numSpace.Append(new PyFloat(variables[i].LowerBond + (variables[i].UpperBond - variables[i].LowerBond) * j / (nTrials - 1))); } - searchSpace.Add(variables[i].NickName, numSpace); + searchSpace.SetItem(new PyString(variables[i].NickName), numSpace); } nTrials = (int)Math.Pow(nTrials, variables.Count); return optuna.samplers.GridSampler(searchSpace); } - internal static dynamic NSGAII(dynamic optuna, TunnySettings settings) + internal static dynamic NSGAII(dynamic optuna, TunnySettings settings, bool hasConstraints) { NSGAII nsga2 = settings.Optimize.Sampler.NsgaII; return optuna.samplers.NSGAIISampler( @@ -55,11 +58,36 @@ internal static dynamic NSGAII(dynamic optuna, TunnySettings settings) mutation_prob: nsga2.MutationProb, crossover_prob: nsga2.CrossoverProb, swapping_prob: nsga2.SwappingProb, - seed: nsga2.Seed + seed: nsga2.Seed, + crossover: SetCrossover(optuna, nsga2.Crossover), + constraints_func: hasConstraints ? ConstraintFunc() : null ); } - internal static dynamic TPE(dynamic optuna, TunnySettings settings) + private static dynamic SetCrossover(dynamic optuna, string crossover) + { + switch (crossover) + { + case "Uniform": + return optuna.samplers.nsgaii.UniformCrossover(); + case "BLXAlpha": + return optuna.samplers.nsgaii.BLXAlphaCrossover(); + case "SPX": + return optuna.samplers.nsgaii.SPXCrossover(); + case "SBX": + return optuna.samplers.nsgaii.SBXCrossover(); + case "VSBX": + return optuna.samplers.nsgaii.VSBXCrossover(); + case "UNDX": + return optuna.samplers.nsgaii.UNDXCrossover(); + case "": + return null; + default: + throw new ArgumentException("Unexpected crossover setting"); + } + } + + internal static dynamic TPE(dynamic optuna, TunnySettings settings, bool hasConstraints) { Tpe tpe = settings.Optimize.Sampler.Tpe; return optuna.samplers.TPESampler( @@ -73,8 +101,41 @@ internal static dynamic TPE(dynamic optuna, TunnySettings settings) multivariate: tpe.Multivariate, group: tpe.Group, warn_independent_sampling: tpe.WarnIndependentSampling, - constant_liar: tpe.ConstantLiar + constant_liar: tpe.ConstantLiar, + constraints_func: hasConstraints ? ConstraintFunc() : null + ); + } + + internal static dynamic BoTorch(dynamic optuna, TunnySettings settings, bool hasConstraints) + { + BoTorch boTorch = settings.Optimize.Sampler.BoTorch; + return optuna.integration.BoTorchSampler( + n_startup_trials: boTorch.NStartupTrials, + constraints_func: hasConstraints ? ConstraintFunc() : null + ); + } + + + internal static dynamic QMC(dynamic optuna, TunnySettings settings) + { + QuasiMonteCarlo qmc = settings.Optimize.Sampler.QMC; + return optuna.samplers.QMCSampler( + qmc_type: qmc.QmcType, + scramble: qmc.Scramble, + seed: qmc.Seed, + // warn_asynchronous_seeding: qmc.WarnAsynchronousSeeding, + warn_independent_sampling: qmc.WarnIndependentSampling + ); + } + + internal static dynamic ConstraintFunc() + { + PyModule ps = Py.CreateScope(); + ps.Exec( + "def constraints(trial):\n" + + " return trial.user_attrs[\"Constraint\"]\n" ); + return ps.Get("constraints"); } } } diff --git a/Tunny/Tunny.csproj b/Tunny/Tunny.csproj index f4a07bf1..c0c84ce3 100644 --- a/Tunny/Tunny.csproj +++ b/Tunny/Tunny.csproj @@ -2,7 +2,7 @@ net48 - 0.4.0 + 0.5.0 Tunny Tunny is an optimization component wrapped in optuna. .gha diff --git a/Tunny/Type/GH_Fish.cs b/Tunny/Type/GH_Fish.cs index aaa3674f..fb22b8a1 100644 --- a/Tunny/Type/GH_Fish.cs +++ b/Tunny/Type/GH_Fish.cs @@ -78,12 +78,17 @@ private void SetAttributeEachItem(StringBuilder sb, KeyValuePair if (attr.Key == "Geometry") { List geometries = Value.GetGeometries(); - foreach (GeometryBase geom in geometries) + int maxLength = geometries.Count > 5 ? 5 : geometries.Count; + for (int i = 0; i < maxLength; i++) { - string geomString = Converter.GeometryBaseToGoo(geom).ToString(); + string geomString = Converter.GeometryBaseToGoo(geometries[i]).ToString(); valueStrings.Append("\n "); valueStrings.Append(geomString); } + if (geometries.Count > 5) + { + valueStrings.Append("....."); + } } else { diff --git a/Tunny/UI/OptimizationWindow.Designer.cs b/Tunny/UI/OptimizationWindow.Designer.cs index a735e42d..c086f40a 100644 --- a/Tunny/UI/OptimizationWindow.Designer.cs +++ b/Tunny/UI/OptimizationWindow.Designer.cs @@ -47,9 +47,11 @@ private void InitializeComponent() this.timeoutNumUpDown = new System.Windows.Forms.NumericUpDown(); this.Timeout = new System.Windows.Forms.Label(); this.visualizeTabPage = new System.Windows.Forms.TabPage(); + this.visualizeClusteringPlotButton = new System.Windows.Forms.Button(); + this.visualizeNumClusterLabel = new System.Windows.Forms.Label(); + this.visualizeClusterNumUpDown = new System.Windows.Forms.NumericUpDown(); this.dashboardButton = new System.Windows.Forms.Button(); this.visualizeButton = new System.Windows.Forms.Button(); - this.visualizeTypeLabel = new System.Windows.Forms.Label(); this.visualizeTypeComboBox = new System.Windows.Forms.ComboBox(); this.outputTabPage = new System.Windows.Forms.TabPage(); this.outputAllTrialsButton = new System.Windows.Forms.Button(); @@ -61,30 +63,106 @@ private void InitializeComponent() this.outputModelNumTextBox = new System.Windows.Forms.TextBox(); this.outputModelLabel = new System.Windows.Forms.Label(); this.settingsTabPage = new System.Windows.Forms.TabPage(); - this.settingsToJson = new System.Windows.Forms.Button(); - this.settingsOpenAPIPage = new System.Windows.Forms.Button(); - this.settingsAPIComboBox = new System.Windows.Forms.ComboBox(); - this.settingsFolderOpen = new System.Windows.Forms.Button(); - this.settingLabel = new System.Windows.Forms.Label(); - this.settingsFromJson = new System.Windows.Forms.Button(); + this.settingsTabControl = new System.Windows.Forms.TabControl(); + this.TPE = new System.Windows.Forms.TabPage(); + this.tpeDefaultButton = new System.Windows.Forms.Button(); + this.tpeNEICandidatesLabel = new System.Windows.Forms.Label(); + this.tpeNStartupTrialsLabel = new System.Windows.Forms.Label(); + this.tpePriorWeightLabel = new System.Windows.Forms.Label(); + this.tpeEINumUpDown = new System.Windows.Forms.NumericUpDown(); + this.tpeStartupNumUpDown = new System.Windows.Forms.NumericUpDown(); + this.tpePriorNumUpDown = new System.Windows.Forms.NumericUpDown(); + this.tpeConstantLiarCheckBox = new System.Windows.Forms.CheckBox(); + this.tpeWarnIndependentSamplingCheckBox = new System.Windows.Forms.CheckBox(); + this.tpeGroupCheckBox = new System.Windows.Forms.CheckBox(); + this.tpeMultivariateCheckBox = new System.Windows.Forms.CheckBox(); + this.tpeConsiderEndpointsCheckBox = new System.Windows.Forms.CheckBox(); + this.tpeConsiderMagicClipCheckBox = new System.Windows.Forms.CheckBox(); + this.tpeConsiderPriorCheckBox = new System.Windows.Forms.CheckBox(); + this.GP = new System.Windows.Forms.TabPage(); + this.boTorchDefaultButton = new System.Windows.Forms.Button(); + this.boTorchNStartupTrialsLabel = new System.Windows.Forms.Label(); + this.boTorchStartupNumUpDown = new System.Windows.Forms.NumericUpDown(); + this.NSGAII = new System.Windows.Forms.TabPage(); + this.nsgaCrossoverComboBox = new System.Windows.Forms.ComboBox(); + this.nsgaCrossoverCheckBox = new System.Windows.Forms.CheckBox(); + this.nsgaDefaultButton = new System.Windows.Forms.Button(); + this.nsgaMutationProbCheckBox = new System.Windows.Forms.CheckBox(); + this.nsgaPopulationSizeLabel = new System.Windows.Forms.Label(); + this.nsgaPopulationSizeUpDown = new System.Windows.Forms.NumericUpDown(); + this.nsgaSwappingProbLabel = new System.Windows.Forms.Label(); + this.nsgaSwappingProbUpDown = new System.Windows.Forms.NumericUpDown(); + this.nsgaCrossoverProbLabel = new System.Windows.Forms.Label(); + this.nsgaCrossoverProbUpDown = new System.Windows.Forms.NumericUpDown(); + this.nsgaMutationProbUpDown = new System.Windows.Forms.NumericUpDown(); + this.CMAES = new System.Windows.Forms.TabPage(); + this.cmaEsPopulationSizeUpDown = new System.Windows.Forms.NumericUpDown(); + this.cmaEsPopulationSizeLabel = new System.Windows.Forms.Label(); + this.cmaEsDefaultButton = new System.Windows.Forms.Button(); + this.cmaEsRestartCheckBox = new System.Windows.Forms.CheckBox(); + this.cmaEsUseSaparableCmaCheckBox = new System.Windows.Forms.CheckBox(); + this.cmaEsNStartupTrialsLabel = new System.Windows.Forms.Label(); + this.cmaEsStartupNumUpDown = new System.Windows.Forms.NumericUpDown(); + this.cmaEsConsiderPruneTrialsCheckBox = new System.Windows.Forms.CheckBox(); + this.cmaEsWarnIndependentSamplingCheckBox = new System.Windows.Forms.CheckBox(); + this.cmaEsIncPopsizeLabel = new System.Windows.Forms.Label(); + this.cmaEsIncPopSizeUpDown = new System.Windows.Forms.NumericUpDown(); + this.cmaEsSigmaCheckBox = new System.Windows.Forms.CheckBox(); + this.cmaEsSigmaNumUpDown = new System.Windows.Forms.NumericUpDown(); + this.QMC = new System.Windows.Forms.TabPage(); + this.qmcDefaultButton = new System.Windows.Forms.Button(); + this.qmcTypeComboBox = new System.Windows.Forms.ComboBox(); + this.qmcTypeLabel = new System.Windows.Forms.Label(); + this.qmcWarnAsyncSeedingCheckBox = new System.Windows.Forms.CheckBox(); + this.qmcScrambleCheckBox = new System.Windows.Forms.CheckBox(); + this.qmcWarnIndependentSamplingCheckBox = new System.Windows.Forms.CheckBox(); this.fileTabPage = new System.Windows.Forms.TabPage(); - this.openResultFolderButton = new System.Windows.Forms.Button(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); this.clearResultButton = new System.Windows.Forms.Button(); + this.openResultFolderButton = new System.Windows.Forms.Button(); + this.licenseGroupBox = new System.Windows.Forms.GroupBox(); + this.showThirdPartyLicenseButton = new System.Windows.Forms.Button(); + this.showTunnyLicenseButton = new System.Windows.Forms.Button(); this.outputResultBackgroundWorker = new System.ComponentModel.BackgroundWorker(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.visualizeTypeGroupBox = new System.Windows.Forms.GroupBox(); + this.kMeansClusteringGroupBox = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.nTrialNumUpDown)).BeginInit(); this.optimizeTabControl.SuspendLayout(); this.optimizeTabPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.timeoutNumUpDown)).BeginInit(); this.visualizeTabPage.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.visualizeClusterNumUpDown)).BeginInit(); this.outputTabPage.SuspendLayout(); this.settingsTabPage.SuspendLayout(); + this.settingsTabControl.SuspendLayout(); + this.TPE.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tpeEINumUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tpeStartupNumUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tpePriorNumUpDown)).BeginInit(); + this.GP.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.boTorchStartupNumUpDown)).BeginInit(); + this.NSGAII.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nsgaPopulationSizeUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nsgaSwappingProbUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nsgaCrossoverProbUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nsgaMutationProbUpDown)).BeginInit(); + this.CMAES.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.cmaEsPopulationSizeUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.cmaEsStartupNumUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.cmaEsIncPopSizeUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.cmaEsSigmaNumUpDown)).BeginInit(); + this.QMC.SuspendLayout(); this.fileTabPage.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.licenseGroupBox.SuspendLayout(); + this.visualizeTypeGroupBox.SuspendLayout(); + this.kMeansClusteringGroupBox.SuspendLayout(); this.SuspendLayout(); // // optimizeRunButton // - this.optimizeRunButton.Location = new System.Drawing.Point(20, 252); + this.optimizeRunButton.Location = new System.Drawing.Point(20, 277); this.optimizeRunButton.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.optimizeRunButton.Name = "optimizeRunButton"; this.optimizeRunButton.Size = new System.Drawing.Size(180, 44); @@ -96,10 +174,10 @@ private void InitializeComponent() // optimizeStopButton // this.optimizeStopButton.Enabled = false; - this.optimizeStopButton.Location = new System.Drawing.Point(232, 252); + this.optimizeStopButton.Location = new System.Drawing.Point(246, 277); this.optimizeStopButton.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.optimizeStopButton.Name = "optimizeStopButton"; - this.optimizeStopButton.Size = new System.Drawing.Size(130, 44); + this.optimizeStopButton.Size = new System.Drawing.Size(163, 44); this.optimizeStopButton.TabIndex = 1; this.optimizeStopButton.Text = "Stop"; this.optimizeStopButton.UseVisualStyleBackColor = true; @@ -107,7 +185,7 @@ private void InitializeComponent() // // nTrialNumUpDown // - this.nTrialNumUpDown.Location = new System.Drawing.Point(196, 60); + this.nTrialNumUpDown.Location = new System.Drawing.Point(246, 61); this.nTrialNumUpDown.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.nTrialNumUpDown.Maximum = new decimal(new int[] { 10000, @@ -139,7 +217,7 @@ private void InitializeComponent() this.loadIfExistsCheckBox.AutoSize = true; this.loadIfExistsCheckBox.Checked = true; this.loadIfExistsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.loadIfExistsCheckBox.Location = new System.Drawing.Point(19, 156); + this.loadIfExistsCheckBox.Location = new System.Drawing.Point(19, 169); this.loadIfExistsCheckBox.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.loadIfExistsCheckBox.Name = "loadIfExistsCheckBox"; this.loadIfExistsCheckBox.Size = new System.Drawing.Size(237, 27); @@ -149,25 +227,27 @@ private void InitializeComponent() // // optimizeProgressBar // - this.optimizeProgressBar.Location = new System.Drawing.Point(20, 308); + this.optimizeProgressBar.Location = new System.Drawing.Point(20, 333); this.optimizeProgressBar.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.optimizeProgressBar.Name = "optimizeProgressBar"; - this.optimizeProgressBar.Size = new System.Drawing.Size(340, 42); + this.optimizeProgressBar.Size = new System.Drawing.Size(389, 42); this.optimizeProgressBar.TabIndex = 6; // // samplerComboBox // this.samplerComboBox.FormattingEnabled = true; this.samplerComboBox.Items.AddRange(new object[] { - "TPE", - "NSGA-II", - "CMA-ES", + "BayesianOptimization (TPE)", + "BayesianOptimization (GP)", + "GeneticAlgorithm (NSGA-II)", + "EvolutionStrategy (CMA-ES)", + "Quasi-MonteCarlo", "Random", "Grid"}); - this.samplerComboBox.Location = new System.Drawing.Point(148, 12); + this.samplerComboBox.Location = new System.Drawing.Point(104, 13); this.samplerComboBox.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.samplerComboBox.Name = "samplerComboBox"; - this.samplerComboBox.Size = new System.Drawing.Size(214, 31); + this.samplerComboBox.Size = new System.Drawing.Size(305, 31); this.samplerComboBox.TabIndex = 7; // // samplerTypeText @@ -183,7 +263,7 @@ private void InitializeComponent() // studyNameLabel // this.studyNameLabel.AutoSize = true; - this.studyNameLabel.Location = new System.Drawing.Point(14, 193); + this.studyNameLabel.Location = new System.Drawing.Point(14, 206); this.studyNameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.studyNameLabel.Name = "studyNameLabel"; this.studyNameLabel.Size = new System.Drawing.Size(116, 23); @@ -192,10 +272,10 @@ private void InitializeComponent() // // studyNameTextBox // - this.studyNameTextBox.Location = new System.Drawing.Point(151, 187); + this.studyNameTextBox.Location = new System.Drawing.Point(211, 203); this.studyNameTextBox.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.studyNameTextBox.Name = "studyNameTextBox"; - this.studyNameTextBox.Size = new System.Drawing.Size(205, 30); + this.studyNameTextBox.Size = new System.Drawing.Size(198, 30); this.studyNameTextBox.TabIndex = 10; this.studyNameTextBox.Text = "study1"; // @@ -206,12 +286,12 @@ private void InitializeComponent() this.optimizeTabControl.Controls.Add(this.outputTabPage); this.optimizeTabControl.Controls.Add(this.settingsTabPage); this.optimizeTabControl.Controls.Add(this.fileTabPage); - this.optimizeTabControl.Location = new System.Drawing.Point(21, 22); + this.optimizeTabControl.Location = new System.Drawing.Point(0, -1); this.optimizeTabControl.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.optimizeTabControl.Multiline = true; this.optimizeTabControl.Name = "optimizeTabControl"; this.optimizeTabControl.SelectedIndex = 0; - this.optimizeTabControl.Size = new System.Drawing.Size(387, 438); + this.optimizeTabControl.Size = new System.Drawing.Size(428, 476); this.optimizeTabControl.TabIndex = 11; // // optimizeTabPage @@ -228,18 +308,18 @@ private void InitializeComponent() this.optimizeTabPage.Controls.Add(this.optimizeProgressBar); this.optimizeTabPage.Controls.Add(this.nTrialText); this.optimizeTabPage.Controls.Add(this.loadIfExistsCheckBox); - this.optimizeTabPage.Location = new System.Drawing.Point(4, 60); + this.optimizeTabPage.Location = new System.Drawing.Point(4, 32); this.optimizeTabPage.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.optimizeTabPage.Name = "optimizeTabPage"; this.optimizeTabPage.Padding = new System.Windows.Forms.Padding(4, 6, 4, 6); - this.optimizeTabPage.Size = new System.Drawing.Size(379, 374); + this.optimizeTabPage.Size = new System.Drawing.Size(420, 440); this.optimizeTabPage.TabIndex = 0; this.optimizeTabPage.Text = "Optimize"; this.optimizeTabPage.UseVisualStyleBackColor = true; // // timeoutNumUpDown // - this.timeoutNumUpDown.Location = new System.Drawing.Point(197, 102); + this.timeoutNumUpDown.Location = new System.Drawing.Point(246, 100); this.timeoutNumUpDown.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.timeoutNumUpDown.Maximum = new decimal(new int[] { 10000000, @@ -247,7 +327,7 @@ private void InitializeComponent() 0, 0}); this.timeoutNumUpDown.Name = "timeoutNumUpDown"; - this.timeoutNumUpDown.Size = new System.Drawing.Size(165, 30); + this.timeoutNumUpDown.Size = new System.Drawing.Size(163, 30); this.timeoutNumUpDown.TabIndex = 12; this.timeoutNumUpDown.ThousandsSeparator = true; this.toolTip1.SetToolTip(this.timeoutNumUpDown, "After this time has elapsed, optimization stops.\r\nIf 0 is entered, no stop by tim" + @@ -265,22 +345,58 @@ private void InitializeComponent() // // visualizeTabPage // + this.visualizeTabPage.Controls.Add(this.kMeansClusteringGroupBox); + this.visualizeTabPage.Controls.Add(this.visualizeTypeGroupBox); this.visualizeTabPage.Controls.Add(this.dashboardButton); - this.visualizeTabPage.Controls.Add(this.visualizeButton); - this.visualizeTabPage.Controls.Add(this.visualizeTypeLabel); - this.visualizeTabPage.Controls.Add(this.visualizeTypeComboBox); - this.visualizeTabPage.Location = new System.Drawing.Point(4, 60); + this.visualizeTabPage.Location = new System.Drawing.Point(4, 32); this.visualizeTabPage.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.visualizeTabPage.Name = "visualizeTabPage"; this.visualizeTabPage.Padding = new System.Windows.Forms.Padding(4, 6, 4, 6); - this.visualizeTabPage.Size = new System.Drawing.Size(379, 374); + this.visualizeTabPage.Size = new System.Drawing.Size(420, 440); this.visualizeTabPage.TabIndex = 1; this.visualizeTabPage.Text = "Visualize"; this.visualizeTabPage.UseVisualStyleBackColor = true; // + // visualizeClusteringPlotButton + // + this.visualizeClusteringPlotButton.Location = new System.Drawing.Point(29, 80); + this.visualizeClusteringPlotButton.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); + this.visualizeClusteringPlotButton.Name = "visualizeClusteringPlotButton"; + this.visualizeClusteringPlotButton.Size = new System.Drawing.Size(323, 39); + this.visualizeClusteringPlotButton.TabIndex = 15; + this.visualizeClusteringPlotButton.Text = "Show clustering plot"; + this.visualizeClusteringPlotButton.UseVisualStyleBackColor = true; + this.visualizeClusteringPlotButton.Click += new System.EventHandler(this.VisualizeClusteringPlotButton_Click); + // + // visualizeNumClusterLabel + // + this.visualizeNumClusterLabel.AutoSize = true; + this.visualizeNumClusterLabel.Location = new System.Drawing.Point(25, 43); + this.visualizeNumClusterLabel.Name = "visualizeNumClusterLabel"; + this.visualizeNumClusterLabel.Size = new System.Drawing.Size(166, 23); + this.visualizeNumClusterLabel.TabIndex = 14; + this.visualizeNumClusterLabel.Text = "Number of cluster"; + // + // visualizeClusterNumUpDown + // + this.visualizeClusterNumUpDown.Location = new System.Drawing.Point(259, 41); + this.visualizeClusterNumUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.visualizeClusterNumUpDown.Name = "visualizeClusterNumUpDown"; + this.visualizeClusterNumUpDown.Size = new System.Drawing.Size(93, 30); + this.visualizeClusterNumUpDown.TabIndex = 13; + this.visualizeClusterNumUpDown.Value = new decimal(new int[] { + 3, + 0, + 0, + 0}); + // // dashboardButton // - this.dashboardButton.Location = new System.Drawing.Point(33, 36); + this.dashboardButton.Location = new System.Drawing.Point(54, 40); this.dashboardButton.Margin = new System.Windows.Forms.Padding(4); this.dashboardButton.Name = "dashboardButton"; this.dashboardButton.Size = new System.Drawing.Size(323, 39); @@ -291,7 +407,7 @@ private void InitializeComponent() // // visualizeButton // - this.visualizeButton.Location = new System.Drawing.Point(33, 203); + this.visualizeButton.Location = new System.Drawing.Point(29, 80); this.visualizeButton.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.visualizeButton.Name = "visualizeButton"; this.visualizeButton.Size = new System.Drawing.Size(323, 39); @@ -300,16 +416,6 @@ private void InitializeComponent() this.visualizeButton.UseVisualStyleBackColor = true; this.visualizeButton.Click += new System.EventHandler(this.SelectedTypePlotButton_Click); // - // visualizeTypeLabel - // - this.visualizeTypeLabel.AutoSize = true; - this.visualizeTypeLabel.Location = new System.Drawing.Point(4, 121); - this.visualizeTypeLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.visualizeTypeLabel.Name = "visualizeTypeLabel"; - this.visualizeTypeLabel.Size = new System.Drawing.Size(130, 23); - this.visualizeTypeLabel.TabIndex = 1; - this.visualizeTypeLabel.Text = "Visualize type"; - // // visualizeTypeComboBox // this.visualizeTypeComboBox.FormattingEnabled = true; @@ -321,8 +427,9 @@ private void InitializeComponent() "parallel coordinate", "param importances", "pareto front", - "slice"}); - this.visualizeTypeComboBox.Location = new System.Drawing.Point(33, 160); + "slice", + "hypervolume"}); + this.visualizeTypeComboBox.Location = new System.Drawing.Point(29, 32); this.visualizeTypeComboBox.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.visualizeTypeComboBox.Name = "visualizeTypeComboBox"; this.visualizeTypeComboBox.Size = new System.Drawing.Size(323, 31); @@ -338,17 +445,17 @@ private void InitializeComponent() this.outputTabPage.Controls.Add(this.outputModelNumberButton); this.outputTabPage.Controls.Add(this.outputModelNumTextBox); this.outputTabPage.Controls.Add(this.outputModelLabel); - this.outputTabPage.Location = new System.Drawing.Point(4, 60); + this.outputTabPage.Location = new System.Drawing.Point(4, 32); this.outputTabPage.Name = "outputTabPage"; this.outputTabPage.Padding = new System.Windows.Forms.Padding(3); - this.outputTabPage.Size = new System.Drawing.Size(379, 374); + this.outputTabPage.Size = new System.Drawing.Size(420, 440); this.outputTabPage.TabIndex = 3; this.outputTabPage.Text = "Output"; this.outputTabPage.UseVisualStyleBackColor = true; // // outputAllTrialsButton // - this.outputAllTrialsButton.Location = new System.Drawing.Point(35, 74); + this.outputAllTrialsButton.Location = new System.Drawing.Point(64, 76); this.outputAllTrialsButton.Margin = new System.Windows.Forms.Padding(4); this.outputAllTrialsButton.Name = "outputAllTrialsButton"; this.outputAllTrialsButton.Size = new System.Drawing.Size(297, 34); @@ -359,18 +466,18 @@ private void InitializeComponent() // // outputParatoSolutionButton // - this.outputParatoSolutionButton.Location = new System.Drawing.Point(35, 22); + this.outputParatoSolutionButton.Location = new System.Drawing.Point(64, 24); this.outputParatoSolutionButton.Margin = new System.Windows.Forms.Padding(4); this.outputParatoSolutionButton.Name = "outputParatoSolutionButton"; this.outputParatoSolutionButton.Size = new System.Drawing.Size(297, 34); this.outputParatoSolutionButton.TabIndex = 17; - this.outputParatoSolutionButton.Text = "Parato solutions"; + this.outputParatoSolutionButton.Text = "Pareto solutions"; this.outputParatoSolutionButton.UseVisualStyleBackColor = true; this.outputParatoSolutionButton.Click += new System.EventHandler(this.OutputParatoSolutionButton_Click); // // reflectToSliderButton // - this.reflectToSliderButton.Location = new System.Drawing.Point(35, 230); + this.reflectToSliderButton.Location = new System.Drawing.Point(64, 232); this.reflectToSliderButton.Margin = new System.Windows.Forms.Padding(4); this.reflectToSliderButton.Name = "reflectToSliderButton"; this.reflectToSliderButton.Size = new System.Drawing.Size(325, 41); @@ -382,7 +489,7 @@ private void InitializeComponent() // outputStopButton // this.outputStopButton.Enabled = false; - this.outputStopButton.Location = new System.Drawing.Point(297, 320); + this.outputStopButton.Location = new System.Drawing.Point(326, 322); this.outputStopButton.Margin = new System.Windows.Forms.Padding(4); this.outputStopButton.Name = "outputStopButton"; this.outputStopButton.Size = new System.Drawing.Size(75, 40); @@ -393,7 +500,7 @@ private void InitializeComponent() // // outputProgressBar // - this.outputProgressBar.Location = new System.Drawing.Point(35, 320); + this.outputProgressBar.Location = new System.Drawing.Point(64, 322); this.outputProgressBar.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.outputProgressBar.Name = "outputProgressBar"; this.outputProgressBar.Size = new System.Drawing.Size(238, 40); @@ -401,7 +508,7 @@ private void InitializeComponent() // // outputModelNumberButton // - this.outputModelNumberButton.Location = new System.Drawing.Point(243, 179); + this.outputModelNumberButton.Location = new System.Drawing.Point(272, 181); this.outputModelNumberButton.Margin = new System.Windows.Forms.Padding(4); this.outputModelNumberButton.Name = "outputModelNumberButton"; this.outputModelNumberButton.Size = new System.Drawing.Size(117, 30); @@ -412,7 +519,7 @@ private void InitializeComponent() // // outputModelNumTextBox // - this.outputModelNumTextBox.Location = new System.Drawing.Point(35, 179); + this.outputModelNumTextBox.Location = new System.Drawing.Point(64, 181); this.outputModelNumTextBox.Margin = new System.Windows.Forms.Padding(4); this.outputModelNumTextBox.Name = "outputModelNumTextBox"; this.outputModelNumTextBox.Size = new System.Drawing.Size(200, 30); @@ -422,7 +529,7 @@ private void InitializeComponent() // outputModelLabel // this.outputModelLabel.AutoSize = true; - this.outputModelLabel.Location = new System.Drawing.Point(38, 152); + this.outputModelLabel.Location = new System.Drawing.Point(67, 154); this.outputModelLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.outputModelLabel.Name = "outputModelLabel"; this.outputModelLabel.Size = new System.Drawing.Size(175, 23); @@ -431,114 +538,805 @@ private void InitializeComponent() // // settingsTabPage // - this.settingsTabPage.Controls.Add(this.settingsToJson); - this.settingsTabPage.Controls.Add(this.settingsOpenAPIPage); - this.settingsTabPage.Controls.Add(this.settingsAPIComboBox); - this.settingsTabPage.Controls.Add(this.settingsFolderOpen); - this.settingsTabPage.Controls.Add(this.settingLabel); - this.settingsTabPage.Controls.Add(this.settingsFromJson); - this.settingsTabPage.Location = new System.Drawing.Point(4, 60); + this.settingsTabPage.Controls.Add(this.settingsTabControl); + this.settingsTabPage.Location = new System.Drawing.Point(4, 32); this.settingsTabPage.Margin = new System.Windows.Forms.Padding(4); this.settingsTabPage.Name = "settingsTabPage"; - this.settingsTabPage.Size = new System.Drawing.Size(379, 374); + this.settingsTabPage.Size = new System.Drawing.Size(420, 440); this.settingsTabPage.TabIndex = 2; this.settingsTabPage.Text = "Settings"; this.settingsTabPage.UseVisualStyleBackColor = true; // - // settingsToJson - // - this.settingsToJson.Location = new System.Drawing.Point(50, 204); - this.settingsToJson.Margin = new System.Windows.Forms.Padding(4); - this.settingsToJson.Name = "settingsToJson"; - this.settingsToJson.Size = new System.Drawing.Size(278, 34); - this.settingsToJson.TabIndex = 5; - this.settingsToJson.Text = "Save settings to json"; - this.settingsToJson.UseVisualStyleBackColor = true; - this.settingsToJson.Click += new System.EventHandler(this.SettingsToJson_Click); - // - // settingsOpenAPIPage - // - this.settingsOpenAPIPage.Location = new System.Drawing.Point(183, 132); - this.settingsOpenAPIPage.Margin = new System.Windows.Forms.Padding(4); - this.settingsOpenAPIPage.Name = "settingsOpenAPIPage"; - this.settingsOpenAPIPage.Size = new System.Drawing.Size(165, 34); - this.settingsOpenAPIPage.TabIndex = 4; - this.settingsOpenAPIPage.Text = "Open API page"; - this.settingsOpenAPIPage.UseVisualStyleBackColor = true; - this.settingsOpenAPIPage.Click += new System.EventHandler(this.SettingsOpenAPIPage_Click); - // - // settingsAPIComboBox - // - this.settingsAPIComboBox.FormattingEnabled = true; - this.settingsAPIComboBox.Items.AddRange(new object[] { - "TPE", - "NSGA-II", - "CMA-ES", - "Random"}); - this.settingsAPIComboBox.Location = new System.Drawing.Point(26, 132); - this.settingsAPIComboBox.Margin = new System.Windows.Forms.Padding(4); - this.settingsAPIComboBox.Name = "settingsAPIComboBox"; - this.settingsAPIComboBox.Size = new System.Drawing.Size(142, 31); - this.settingsAPIComboBox.TabIndex = 3; - // - // settingsFolderOpen - // - this.settingsFolderOpen.Location = new System.Drawing.Point(50, 291); - this.settingsFolderOpen.Margin = new System.Windows.Forms.Padding(4); - this.settingsFolderOpen.Name = "settingsFolderOpen"; - this.settingsFolderOpen.Size = new System.Drawing.Size(278, 34); - this.settingsFolderOpen.TabIndex = 2; - this.settingsFolderOpen.Text = "Open Settings.json folder"; - this.settingsFolderOpen.UseVisualStyleBackColor = true; - this.settingsFolderOpen.Click += new System.EventHandler(this.SettingsFolderOpen_Click); - // - // settingLabel - // - this.settingLabel.Location = new System.Drawing.Point(21, 18); - this.settingLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.settingLabel.Name = "settingLabel"; - this.settingLabel.Size = new System.Drawing.Size(327, 110); - this.settingLabel.TabIndex = 1; - this.settingLabel.Text = "Detailed optimization settings can be configured in the \"Settings.json\" file in t" + - "he following folder."; - // - // settingsFromJson - // - this.settingsFromJson.Location = new System.Drawing.Point(50, 248); - this.settingsFromJson.Margin = new System.Windows.Forms.Padding(4); - this.settingsFromJson.Name = "settingsFromJson"; - this.settingsFromJson.Size = new System.Drawing.Size(278, 34); - this.settingsFromJson.TabIndex = 0; - this.settingsFromJson.Text = "Load settings from json"; - this.settingsFromJson.UseVisualStyleBackColor = true; - this.settingsFromJson.Click += new System.EventHandler(this.SettingsFromJson_Click); + // settingsTabControl + // + this.settingsTabControl.Controls.Add(this.TPE); + this.settingsTabControl.Controls.Add(this.GP); + this.settingsTabControl.Controls.Add(this.NSGAII); + this.settingsTabControl.Controls.Add(this.CMAES); + this.settingsTabControl.Controls.Add(this.QMC); + this.settingsTabControl.Location = new System.Drawing.Point(3, 3); + this.settingsTabControl.Name = "settingsTabControl"; + this.settingsTabControl.SelectedIndex = 0; + this.settingsTabControl.Size = new System.Drawing.Size(414, 429); + this.settingsTabControl.TabIndex = 0; + // + // TPE + // + this.TPE.Controls.Add(this.tpeDefaultButton); + this.TPE.Controls.Add(this.tpeNEICandidatesLabel); + this.TPE.Controls.Add(this.tpeNStartupTrialsLabel); + this.TPE.Controls.Add(this.tpePriorWeightLabel); + this.TPE.Controls.Add(this.tpeEINumUpDown); + this.TPE.Controls.Add(this.tpeStartupNumUpDown); + this.TPE.Controls.Add(this.tpePriorNumUpDown); + this.TPE.Controls.Add(this.tpeConstantLiarCheckBox); + this.TPE.Controls.Add(this.tpeWarnIndependentSamplingCheckBox); + this.TPE.Controls.Add(this.tpeGroupCheckBox); + this.TPE.Controls.Add(this.tpeMultivariateCheckBox); + this.TPE.Controls.Add(this.tpeConsiderEndpointsCheckBox); + this.TPE.Controls.Add(this.tpeConsiderMagicClipCheckBox); + this.TPE.Controls.Add(this.tpeConsiderPriorCheckBox); + this.TPE.Location = new System.Drawing.Point(4, 32); + this.TPE.Name = "TPE"; + this.TPE.Padding = new System.Windows.Forms.Padding(3); + this.TPE.Size = new System.Drawing.Size(406, 393); + this.TPE.TabIndex = 0; + this.TPE.Text = "TPE"; + this.TPE.UseVisualStyleBackColor = true; + // + // tpeDefaultButton + // + this.tpeDefaultButton.Location = new System.Drawing.Point(300, 349); + this.tpeDefaultButton.Name = "tpeDefaultButton"; + this.tpeDefaultButton.Size = new System.Drawing.Size(100, 38); + this.tpeDefaultButton.TabIndex = 13; + this.tpeDefaultButton.Text = "Default"; + this.toolTip1.SetToolTip(this.tpeDefaultButton, "Set to Optuna\'s default value."); + this.tpeDefaultButton.UseVisualStyleBackColor = true; + this.tpeDefaultButton.Click += new System.EventHandler(this.TpeDefaultButton_Click); + // + // tpeNEICandidatesLabel + // + this.tpeNEICandidatesLabel.AutoSize = true; + this.tpeNEICandidatesLabel.Location = new System.Drawing.Point(5, 44); + this.tpeNEICandidatesLabel.Name = "tpeNEICandidatesLabel"; + this.tpeNEICandidatesLabel.Size = new System.Drawing.Size(225, 23); + this.tpeNEICandidatesLabel.TabIndex = 12; + this.tpeNEICandidatesLabel.Text = "Number of EI candidates"; + this.toolTip1.SetToolTip(this.tpeNEICandidatesLabel, "Number of candidate samples used to calculate\r\nthe expected improvement."); + // + // tpeNStartupTrialsLabel + // + this.tpeNStartupTrialsLabel.AutoSize = true; + this.tpeNStartupTrialsLabel.Location = new System.Drawing.Point(5, 8); + this.tpeNStartupTrialsLabel.Name = "tpeNStartupTrialsLabel"; + this.tpeNStartupTrialsLabel.Size = new System.Drawing.Size(219, 23); + this.tpeNStartupTrialsLabel.TabIndex = 11; + this.tpeNStartupTrialsLabel.Text = "Number of startup trials"; + this.toolTip1.SetToolTip(this.tpeNStartupTrialsLabel, "The random sampling is used instead of the TPE algorithm\r\nuntil the given number " + + "of trials finish in the same study."); + // + // tpePriorWeightLabel + // + this.tpePriorWeightLabel.AutoSize = true; + this.tpePriorWeightLabel.Location = new System.Drawing.Point(5, 80); + this.tpePriorWeightLabel.Name = "tpePriorWeightLabel"; + this.tpePriorWeightLabel.Size = new System.Drawing.Size(118, 23); + this.tpePriorWeightLabel.TabIndex = 10; + this.tpePriorWeightLabel.Text = "Prior Weight"; + this.toolTip1.SetToolTip(this.tpePriorWeightLabel, "The weight of the prior."); + // + // tpeEINumUpDown + // + this.tpeEINumUpDown.Location = new System.Drawing.Point(306, 42); + this.tpeEINumUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.tpeEINumUpDown.Name = "tpeEINumUpDown"; + this.tpeEINumUpDown.Size = new System.Drawing.Size(94, 30); + this.tpeEINumUpDown.TabIndex = 9; + this.tpeEINumUpDown.Value = new decimal(new int[] { + 24, + 0, + 0, + 0}); + // + // tpeStartupNumUpDown + // + this.tpeStartupNumUpDown.Location = new System.Drawing.Point(306, 6); + this.tpeStartupNumUpDown.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.tpeStartupNumUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.tpeStartupNumUpDown.Name = "tpeStartupNumUpDown"; + this.tpeStartupNumUpDown.Size = new System.Drawing.Size(94, 30); + this.tpeStartupNumUpDown.TabIndex = 8; + this.tpeStartupNumUpDown.Value = new decimal(new int[] { + 10, + 0, + 0, + 0}); + // + // tpePriorNumUpDown + // + this.tpePriorNumUpDown.DecimalPlaces = 1; + this.tpePriorNumUpDown.Increment = new decimal(new int[] { + 1, + 0, + 0, + 65536}); + this.tpePriorNumUpDown.Location = new System.Drawing.Point(306, 78); + this.tpePriorNumUpDown.Name = "tpePriorNumUpDown"; + this.tpePriorNumUpDown.Size = new System.Drawing.Size(94, 30); + this.tpePriorNumUpDown.TabIndex = 7; + this.tpePriorNumUpDown.Value = new decimal(new int[] { + 10, + 0, + 0, + 65536}); + // + // tpeConstantLiarCheckBox + // + this.tpeConstantLiarCheckBox.AutoSize = true; + this.tpeConstantLiarCheckBox.Location = new System.Drawing.Point(241, 203); + this.tpeConstantLiarCheckBox.Name = "tpeConstantLiarCheckBox"; + this.tpeConstantLiarCheckBox.Size = new System.Drawing.Size(152, 27); + this.tpeConstantLiarCheckBox.TabIndex = 6; + this.tpeConstantLiarCheckBox.Text = "Constant Liar"; + this.toolTip1.SetToolTip(this.tpeConstantLiarCheckBox, "If True, \r\npenalize running trials to avoid suggesting parameter configurations n" + + "earby."); + this.tpeConstantLiarCheckBox.UseVisualStyleBackColor = true; + // + // tpeWarnIndependentSamplingCheckBox + // + this.tpeWarnIndependentSamplingCheckBox.AutoSize = true; + this.tpeWarnIndependentSamplingCheckBox.Checked = true; + this.tpeWarnIndependentSamplingCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.tpeWarnIndependentSamplingCheckBox.Location = new System.Drawing.Point(5, 239); + this.tpeWarnIndependentSamplingCheckBox.Name = "tpeWarnIndependentSamplingCheckBox"; + this.tpeWarnIndependentSamplingCheckBox.Size = new System.Drawing.Size(284, 27); + this.tpeWarnIndependentSamplingCheckBox.TabIndex = 5; + this.tpeWarnIndependentSamplingCheckBox.Text = "Warn Independent Sampling"; + this.toolTip1.SetToolTip(this.tpeWarnIndependentSamplingCheckBox, "If this is True and multivariate=True, \r\na warning message is emitted\r\nwhen the v" + + "alue of a parameter is sampled by using an independent sampler. \r\nIf multivariat" + + "e=False, this flag has no effect."); + this.tpeWarnIndependentSamplingCheckBox.UseVisualStyleBackColor = true; + // + // tpeGroupCheckBox + // + this.tpeGroupCheckBox.AutoSize = true; + this.tpeGroupCheckBox.Location = new System.Drawing.Point(241, 170); + this.tpeGroupCheckBox.Name = "tpeGroupCheckBox"; + this.tpeGroupCheckBox.Size = new System.Drawing.Size(89, 27); + this.tpeGroupCheckBox.TabIndex = 4; + this.tpeGroupCheckBox.Text = "Group"; + this.toolTip1.SetToolTip(this.tpeGroupCheckBox, "If this and multivariate are True,\r\nthe multivariate TPE with the group decompose" + + "d search space\r\nis used when suggesting parameters. "); + this.tpeGroupCheckBox.UseVisualStyleBackColor = true; + // + // tpeMultivariateCheckBox + // + this.tpeMultivariateCheckBox.AutoSize = true; + this.tpeMultivariateCheckBox.Location = new System.Drawing.Point(241, 137); + this.tpeMultivariateCheckBox.Name = "tpeMultivariateCheckBox"; + this.tpeMultivariateCheckBox.Size = new System.Drawing.Size(138, 27); + this.tpeMultivariateCheckBox.TabIndex = 3; + this.tpeMultivariateCheckBox.Text = "Multivariate"; + this.toolTip1.SetToolTip(this.tpeMultivariateCheckBox, "If this is True, \r\nthe multivariate TPE is used when suggesting parameters. \r\nThe" + + " multivariate TPE is reported to outperform the independent TPE."); + this.tpeMultivariateCheckBox.UseVisualStyleBackColor = true; + // + // tpeConsiderEndpointsCheckBox + // + this.tpeConsiderEndpointsCheckBox.AutoSize = true; + this.tpeConsiderEndpointsCheckBox.Location = new System.Drawing.Point(5, 170); + this.tpeConsiderEndpointsCheckBox.Name = "tpeConsiderEndpointsCheckBox"; + this.tpeConsiderEndpointsCheckBox.Size = new System.Drawing.Size(205, 27); + this.tpeConsiderEndpointsCheckBox.TabIndex = 2; + this.tpeConsiderEndpointsCheckBox.Text = "Consider Endpoints"; + this.toolTip1.SetToolTip(this.tpeConsiderEndpointsCheckBox, "Take endpoints of domains into account\r\nwhen calculating variances of Gaussians i" + + "n Parzen estimator."); + this.tpeConsiderEndpointsCheckBox.UseVisualStyleBackColor = true; + // + // tpeConsiderMagicClipCheckBox + // + this.tpeConsiderMagicClipCheckBox.AutoSize = true; + this.tpeConsiderMagicClipCheckBox.Checked = true; + this.tpeConsiderMagicClipCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.tpeConsiderMagicClipCheckBox.Location = new System.Drawing.Point(5, 203); + this.tpeConsiderMagicClipCheckBox.Name = "tpeConsiderMagicClipCheckBox"; + this.tpeConsiderMagicClipCheckBox.Size = new System.Drawing.Size(207, 27); + this.tpeConsiderMagicClipCheckBox.TabIndex = 1; + this.tpeConsiderMagicClipCheckBox.Text = "Consider Magic Clip"; + this.toolTip1.SetToolTip(this.tpeConsiderMagicClipCheckBox, "Enable a heuristic to limit the smallest variances of Gaussians used in the Parze" + + "n estimator."); + this.tpeConsiderMagicClipCheckBox.UseVisualStyleBackColor = true; + // + // tpeConsiderPriorCheckBox + // + this.tpeConsiderPriorCheckBox.AutoSize = true; + this.tpeConsiderPriorCheckBox.Checked = true; + this.tpeConsiderPriorCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.tpeConsiderPriorCheckBox.Location = new System.Drawing.Point(5, 137); + this.tpeConsiderPriorCheckBox.Name = "tpeConsiderPriorCheckBox"; + this.tpeConsiderPriorCheckBox.Size = new System.Drawing.Size(159, 27); + this.tpeConsiderPriorCheckBox.TabIndex = 0; + this.tpeConsiderPriorCheckBox.Text = "Consider Prior"; + this.toolTip1.SetToolTip(this.tpeConsiderPriorCheckBox, "Enhance the stability of Parzen estimator by imposing a Gaussian prior when True." + + ""); + this.tpeConsiderPriorCheckBox.UseVisualStyleBackColor = true; + // + // GP + // + this.GP.Controls.Add(this.boTorchDefaultButton); + this.GP.Controls.Add(this.boTorchNStartupTrialsLabel); + this.GP.Controls.Add(this.boTorchStartupNumUpDown); + this.GP.Location = new System.Drawing.Point(4, 32); + this.GP.Name = "GP"; + this.GP.Padding = new System.Windows.Forms.Padding(3); + this.GP.Size = new System.Drawing.Size(406, 393); + this.GP.TabIndex = 1; + this.GP.Text = "GP"; + this.GP.UseVisualStyleBackColor = true; + // + // boTorchDefaultButton + // + this.boTorchDefaultButton.Location = new System.Drawing.Point(300, 349); + this.boTorchDefaultButton.Name = "boTorchDefaultButton"; + this.boTorchDefaultButton.Size = new System.Drawing.Size(100, 38); + this.boTorchDefaultButton.TabIndex = 14; + this.boTorchDefaultButton.Text = "Default"; + this.toolTip1.SetToolTip(this.boTorchDefaultButton, "Set to Optuna\'s default value."); + this.boTorchDefaultButton.UseVisualStyleBackColor = true; + this.boTorchDefaultButton.Click += new System.EventHandler(this.BoTorchDefaultButton_Click); + // + // boTorchNStartupTrialsLabel + // + this.boTorchNStartupTrialsLabel.AutoSize = true; + this.boTorchNStartupTrialsLabel.Location = new System.Drawing.Point(6, 8); + this.boTorchNStartupTrialsLabel.Name = "boTorchNStartupTrialsLabel"; + this.boTorchNStartupTrialsLabel.Size = new System.Drawing.Size(219, 23); + this.boTorchNStartupTrialsLabel.TabIndex = 13; + this.boTorchNStartupTrialsLabel.Text = "Number of startup trials"; + this.toolTip1.SetToolTip(this.boTorchNStartupTrialsLabel, "Number of initial trials, that is the number of trials to resort to independent s" + + "ampling."); + // + // boTorchStartupNumUpDown + // + this.boTorchStartupNumUpDown.Location = new System.Drawing.Point(306, 6); + this.boTorchStartupNumUpDown.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.boTorchStartupNumUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.boTorchStartupNumUpDown.Name = "boTorchStartupNumUpDown"; + this.boTorchStartupNumUpDown.Size = new System.Drawing.Size(94, 30); + this.boTorchStartupNumUpDown.TabIndex = 12; + this.boTorchStartupNumUpDown.Value = new decimal(new int[] { + 10, + 0, + 0, + 0}); + // + // NSGAII + // + this.NSGAII.Controls.Add(this.nsgaCrossoverComboBox); + this.NSGAII.Controls.Add(this.nsgaCrossoverCheckBox); + this.NSGAII.Controls.Add(this.nsgaDefaultButton); + this.NSGAII.Controls.Add(this.nsgaMutationProbCheckBox); + this.NSGAII.Controls.Add(this.nsgaPopulationSizeLabel); + this.NSGAII.Controls.Add(this.nsgaPopulationSizeUpDown); + this.NSGAII.Controls.Add(this.nsgaSwappingProbLabel); + this.NSGAII.Controls.Add(this.nsgaSwappingProbUpDown); + this.NSGAII.Controls.Add(this.nsgaCrossoverProbLabel); + this.NSGAII.Controls.Add(this.nsgaCrossoverProbUpDown); + this.NSGAII.Controls.Add(this.nsgaMutationProbUpDown); + this.NSGAII.Location = new System.Drawing.Point(4, 32); + this.NSGAII.Name = "NSGAII"; + this.NSGAII.Size = new System.Drawing.Size(406, 393); + this.NSGAII.TabIndex = 3; + this.NSGAII.Text = "NSGAII"; + this.NSGAII.UseVisualStyleBackColor = true; + // + // nsgaCrossoverComboBox + // + this.nsgaCrossoverComboBox.FormattingEnabled = true; + this.nsgaCrossoverComboBox.Items.AddRange(new object[] { + "Uniform", + "BLXAlpha", + "SPX", + "SBX", + "VSBX", + "UNDX"}); + this.nsgaCrossoverComboBox.Location = new System.Drawing.Point(265, 154); + this.nsgaCrossoverComboBox.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); + this.nsgaCrossoverComboBox.Name = "nsgaCrossoverComboBox"; + this.nsgaCrossoverComboBox.Size = new System.Drawing.Size(135, 31); + this.nsgaCrossoverComboBox.TabIndex = 33; + this.nsgaCrossoverComboBox.Text = "Uniform"; + // + // nsgaCrossoverCheckBox + // + this.nsgaCrossoverCheckBox.AutoSize = true; + this.nsgaCrossoverCheckBox.Location = new System.Drawing.Point(13, 154); + this.nsgaCrossoverCheckBox.Name = "nsgaCrossoverCheckBox"; + this.nsgaCrossoverCheckBox.Size = new System.Drawing.Size(122, 27); + this.nsgaCrossoverCheckBox.TabIndex = 24; + this.nsgaCrossoverCheckBox.Text = "Crossover"; + this.toolTip1.SetToolTip(this.nsgaCrossoverCheckBox, "Crossover to be applied when creating child individuals. "); + this.nsgaCrossoverCheckBox.UseVisualStyleBackColor = true; + this.nsgaCrossoverCheckBox.CheckedChanged += new System.EventHandler(this.NsgaCrossoverCheckBox_CheckedChanged); + // + // nsgaDefaultButton + // + this.nsgaDefaultButton.Location = new System.Drawing.Point(300, 349); + this.nsgaDefaultButton.Name = "nsgaDefaultButton"; + this.nsgaDefaultButton.Size = new System.Drawing.Size(100, 38); + this.nsgaDefaultButton.TabIndex = 23; + this.nsgaDefaultButton.Text = "Default"; + this.toolTip1.SetToolTip(this.nsgaDefaultButton, "Set to Optuna\'s default value."); + this.nsgaDefaultButton.UseVisualStyleBackColor = true; + this.nsgaDefaultButton.Click += new System.EventHandler(this.NsgaDefaultButton_Click); + // + // nsgaMutationProbCheckBox + // + this.nsgaMutationProbCheckBox.AutoSize = true; + this.nsgaMutationProbCheckBox.Location = new System.Drawing.Point(13, 8); + this.nsgaMutationProbCheckBox.Name = "nsgaMutationProbCheckBox"; + this.nsgaMutationProbCheckBox.Size = new System.Drawing.Size(212, 27); + this.nsgaMutationProbCheckBox.TabIndex = 22; + this.nsgaMutationProbCheckBox.Text = "Mutation Probability"; + this.toolTip1.SetToolTip(this.nsgaMutationProbCheckBox, "If False, \r\nthe solver automatically calculates mutation probability."); + this.nsgaMutationProbCheckBox.UseVisualStyleBackColor = true; + this.nsgaMutationProbCheckBox.CheckedChanged += new System.EventHandler(this.NsgaMutationProbCheckedChanged); + // + // nsgaPopulationSizeLabel + // + this.nsgaPopulationSizeLabel.AutoSize = true; + this.nsgaPopulationSizeLabel.Location = new System.Drawing.Point(9, 117); + this.nsgaPopulationSizeLabel.Name = "nsgaPopulationSizeLabel"; + this.nsgaPopulationSizeLabel.Size = new System.Drawing.Size(144, 23); + this.nsgaPopulationSizeLabel.TabIndex = 21; + this.nsgaPopulationSizeLabel.Text = "Population Size"; + this.toolTip1.SetToolTip(this.nsgaPopulationSizeLabel, "Number of individuals (trials) in a generation."); + // + // nsgaPopulationSizeUpDown + // + this.nsgaPopulationSizeUpDown.Location = new System.Drawing.Point(309, 115); + this.nsgaPopulationSizeUpDown.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.nsgaPopulationSizeUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.nsgaPopulationSizeUpDown.Name = "nsgaPopulationSizeUpDown"; + this.nsgaPopulationSizeUpDown.Size = new System.Drawing.Size(94, 30); + this.nsgaPopulationSizeUpDown.TabIndex = 20; + this.nsgaPopulationSizeUpDown.Value = new decimal(new int[] { + 50, + 0, + 0, + 0}); + // + // nsgaSwappingProbLabel + // + this.nsgaSwappingProbLabel.AutoSize = true; + this.nsgaSwappingProbLabel.Location = new System.Drawing.Point(9, 81); + this.nsgaSwappingProbLabel.Name = "nsgaSwappingProbLabel"; + this.nsgaSwappingProbLabel.Size = new System.Drawing.Size(194, 23); + this.nsgaSwappingProbLabel.TabIndex = 19; + this.nsgaSwappingProbLabel.Text = "Swapping Probability"; + this.toolTip1.SetToolTip(this.nsgaSwappingProbLabel, "Probability of swapping each parameter of the parents during crossover."); + // + // nsgaSwappingProbUpDown + // + this.nsgaSwappingProbUpDown.DecimalPlaces = 2; + this.nsgaSwappingProbUpDown.Increment = new decimal(new int[] { + 1, + 0, + 0, + 131072}); + this.nsgaSwappingProbUpDown.Location = new System.Drawing.Point(309, 79); + this.nsgaSwappingProbUpDown.Maximum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.nsgaSwappingProbUpDown.Name = "nsgaSwappingProbUpDown"; + this.nsgaSwappingProbUpDown.Size = new System.Drawing.Size(94, 30); + this.nsgaSwappingProbUpDown.TabIndex = 18; + this.nsgaSwappingProbUpDown.Value = new decimal(new int[] { + 5, + 0, + 0, + 65536}); + // + // nsgaCrossoverProbLabel + // + this.nsgaCrossoverProbLabel.AutoSize = true; + this.nsgaCrossoverProbLabel.Location = new System.Drawing.Point(9, 45); + this.nsgaCrossoverProbLabel.Name = "nsgaCrossoverProbLabel"; + this.nsgaCrossoverProbLabel.Size = new System.Drawing.Size(195, 23); + this.nsgaCrossoverProbLabel.TabIndex = 17; + this.nsgaCrossoverProbLabel.Text = "Crossover Probability"; + this.toolTip1.SetToolTip(this.nsgaCrossoverProbLabel, "Probability that a crossover (parameters swapping between parents)\r\nwill occur wh" + + "en creating a new individual."); + // + // nsgaCrossoverProbUpDown + // + this.nsgaCrossoverProbUpDown.DecimalPlaces = 2; + this.nsgaCrossoverProbUpDown.Increment = new decimal(new int[] { + 1, + 0, + 0, + 131072}); + this.nsgaCrossoverProbUpDown.Location = new System.Drawing.Point(309, 43); + this.nsgaCrossoverProbUpDown.Maximum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.nsgaCrossoverProbUpDown.Name = "nsgaCrossoverProbUpDown"; + this.nsgaCrossoverProbUpDown.Size = new System.Drawing.Size(94, 30); + this.nsgaCrossoverProbUpDown.TabIndex = 16; + this.nsgaCrossoverProbUpDown.Value = new decimal(new int[] { + 9, + 0, + 0, + 65536}); + // + // nsgaMutationProbUpDown + // + this.nsgaMutationProbUpDown.DecimalPlaces = 2; + this.nsgaMutationProbUpDown.Enabled = false; + this.nsgaMutationProbUpDown.Increment = new decimal(new int[] { + 1, + 0, + 0, + 131072}); + this.nsgaMutationProbUpDown.Location = new System.Drawing.Point(309, 7); + this.nsgaMutationProbUpDown.Maximum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.nsgaMutationProbUpDown.Name = "nsgaMutationProbUpDown"; + this.nsgaMutationProbUpDown.Size = new System.Drawing.Size(94, 30); + this.nsgaMutationProbUpDown.TabIndex = 14; + // + // CMAES + // + this.CMAES.Controls.Add(this.cmaEsPopulationSizeUpDown); + this.CMAES.Controls.Add(this.cmaEsPopulationSizeLabel); + this.CMAES.Controls.Add(this.cmaEsDefaultButton); + this.CMAES.Controls.Add(this.cmaEsRestartCheckBox); + this.CMAES.Controls.Add(this.cmaEsUseSaparableCmaCheckBox); + this.CMAES.Controls.Add(this.cmaEsNStartupTrialsLabel); + this.CMAES.Controls.Add(this.cmaEsStartupNumUpDown); + this.CMAES.Controls.Add(this.cmaEsConsiderPruneTrialsCheckBox); + this.CMAES.Controls.Add(this.cmaEsWarnIndependentSamplingCheckBox); + this.CMAES.Controls.Add(this.cmaEsIncPopsizeLabel); + this.CMAES.Controls.Add(this.cmaEsIncPopSizeUpDown); + this.CMAES.Controls.Add(this.cmaEsSigmaCheckBox); + this.CMAES.Controls.Add(this.cmaEsSigmaNumUpDown); + this.CMAES.Location = new System.Drawing.Point(4, 32); + this.CMAES.Name = "CMAES"; + this.CMAES.Size = new System.Drawing.Size(406, 393); + this.CMAES.TabIndex = 2; + this.CMAES.Text = "CMA-ES"; + this.CMAES.UseVisualStyleBackColor = true; + // + // cmaEsPopulationSizeUpDown + // + this.cmaEsPopulationSizeUpDown.Enabled = false; + this.cmaEsPopulationSizeUpDown.Location = new System.Drawing.Point(309, 235); + this.cmaEsPopulationSizeUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.cmaEsPopulationSizeUpDown.Name = "cmaEsPopulationSizeUpDown"; + this.cmaEsPopulationSizeUpDown.Size = new System.Drawing.Size(94, 30); + this.cmaEsPopulationSizeUpDown.TabIndex = 35; + this.cmaEsPopulationSizeUpDown.Value = new decimal(new int[] { + 10, + 0, + 0, + 0}); + // + // cmaEsPopulationSizeLabel + // + this.cmaEsPopulationSizeLabel.AutoSize = true; + this.cmaEsPopulationSizeLabel.Location = new System.Drawing.Point(7, 237); + this.cmaEsPopulationSizeLabel.Name = "cmaEsPopulationSizeLabel"; + this.cmaEsPopulationSizeLabel.Size = new System.Drawing.Size(144, 23); + this.cmaEsPopulationSizeLabel.TabIndex = 34; + this.cmaEsPopulationSizeLabel.Text = "Population Size"; + this.toolTip1.SetToolTip(this.cmaEsPopulationSizeLabel, "A population size of CMA-ES. \r\nWhen set restart_strategy is checked,\r\nthis is use" + + "d as the initial population size."); + // + // cmaEsDefaultButton + // + this.cmaEsDefaultButton.Location = new System.Drawing.Point(300, 349); + this.cmaEsDefaultButton.Name = "cmaEsDefaultButton"; + this.cmaEsDefaultButton.Size = new System.Drawing.Size(100, 38); + this.cmaEsDefaultButton.TabIndex = 33; + this.cmaEsDefaultButton.Text = "Default"; + this.toolTip1.SetToolTip(this.cmaEsDefaultButton, "Set to Optuna\'s default value."); + this.cmaEsDefaultButton.UseVisualStyleBackColor = true; + this.cmaEsDefaultButton.Click += new System.EventHandler(this.CmaEsDefaultButton_Click); + // + // cmaEsRestartCheckBox + // + this.cmaEsRestartCheckBox.AutoSize = true; + this.cmaEsRestartCheckBox.Location = new System.Drawing.Point(11, 203); + this.cmaEsRestartCheckBox.Name = "cmaEsRestartCheckBox"; + this.cmaEsRestartCheckBox.Size = new System.Drawing.Size(171, 27); + this.cmaEsRestartCheckBox.TabIndex = 32; + this.cmaEsRestartCheckBox.Text = "RestartStrategy"; + this.toolTip1.SetToolTip(this.cmaEsRestartCheckBox, "If given False, \r\nCMA-ES will not restart.\r\nStrategy for restarting CMA-ES optimi" + + "zation when converges to a local minimum. "); + this.cmaEsRestartCheckBox.UseVisualStyleBackColor = true; + this.cmaEsRestartCheckBox.CheckedChanged += new System.EventHandler(this.CmaEsRestartStrategyCheckedChanged); + // + // cmaEsUseSaparableCmaCheckBox + // + this.cmaEsUseSaparableCmaCheckBox.AutoSize = true; + this.cmaEsUseSaparableCmaCheckBox.Location = new System.Drawing.Point(11, 152); + this.cmaEsUseSaparableCmaCheckBox.Name = "cmaEsUseSaparableCmaCheckBox"; + this.cmaEsUseSaparableCmaCheckBox.Size = new System.Drawing.Size(204, 27); + this.cmaEsUseSaparableCmaCheckBox.TabIndex = 31; + this.cmaEsUseSaparableCmaCheckBox.Text = "Use Separable CMA"; + this.toolTip1.SetToolTip(this.cmaEsUseSaparableCmaCheckBox, resources.GetString("cmaEsUseSaparableCmaCheckBox.ToolTip")); + this.cmaEsUseSaparableCmaCheckBox.UseVisualStyleBackColor = true; + // + // cmaEsNStartupTrialsLabel + // + this.cmaEsNStartupTrialsLabel.AutoSize = true; + this.cmaEsNStartupTrialsLabel.Location = new System.Drawing.Point(7, 5); + this.cmaEsNStartupTrialsLabel.Name = "cmaEsNStartupTrialsLabel"; + this.cmaEsNStartupTrialsLabel.Size = new System.Drawing.Size(219, 23); + this.cmaEsNStartupTrialsLabel.TabIndex = 30; + this.cmaEsNStartupTrialsLabel.Text = "Number of startup trials"; + this.toolTip1.SetToolTip(this.cmaEsNStartupTrialsLabel, "The independent sampling is used instead of the CMA-ES algorithm\r\nuntil the given" + + " number of trials finish in the same study."); + // + // cmaEsStartupNumUpDown + // + this.cmaEsStartupNumUpDown.Location = new System.Drawing.Point(309, 5); + this.cmaEsStartupNumUpDown.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.cmaEsStartupNumUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.cmaEsStartupNumUpDown.Name = "cmaEsStartupNumUpDown"; + this.cmaEsStartupNumUpDown.Size = new System.Drawing.Size(94, 30); + this.cmaEsStartupNumUpDown.TabIndex = 29; + this.cmaEsStartupNumUpDown.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // cmaEsConsiderPruneTrialsCheckBox + // + this.cmaEsConsiderPruneTrialsCheckBox.AutoSize = true; + this.cmaEsConsiderPruneTrialsCheckBox.Location = new System.Drawing.Point(11, 119); + this.cmaEsConsiderPruneTrialsCheckBox.Name = "cmaEsConsiderPruneTrialsCheckBox"; + this.cmaEsConsiderPruneTrialsCheckBox.Size = new System.Drawing.Size(230, 27); + this.cmaEsConsiderPruneTrialsCheckBox.TabIndex = 28; + this.cmaEsConsiderPruneTrialsCheckBox.Text = "Consider Pruned Trials"; + this.toolTip1.SetToolTip(this.cmaEsConsiderPruneTrialsCheckBox, "If this is True, \r\nthe PRUNED trials are considered for sampling."); + this.cmaEsConsiderPruneTrialsCheckBox.UseVisualStyleBackColor = true; + // + // cmaEsWarnIndependentSamplingCheckBox + // + this.cmaEsWarnIndependentSamplingCheckBox.AutoSize = true; + this.cmaEsWarnIndependentSamplingCheckBox.Checked = true; + this.cmaEsWarnIndependentSamplingCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.cmaEsWarnIndependentSamplingCheckBox.Location = new System.Drawing.Point(11, 86); + this.cmaEsWarnIndependentSamplingCheckBox.Name = "cmaEsWarnIndependentSamplingCheckBox"; + this.cmaEsWarnIndependentSamplingCheckBox.Size = new System.Drawing.Size(284, 27); + this.cmaEsWarnIndependentSamplingCheckBox.TabIndex = 27; + this.cmaEsWarnIndependentSamplingCheckBox.Text = "Warn Independent Sampling"; + this.toolTip1.SetToolTip(this.cmaEsWarnIndependentSamplingCheckBox, "If this is True, \r\na warning message is emitted when the value of a parameter is " + + "sampled by using an independent sampler."); + this.cmaEsWarnIndependentSamplingCheckBox.UseVisualStyleBackColor = true; + // + // cmaEsIncPopsizeLabel + // + this.cmaEsIncPopsizeLabel.AutoSize = true; + this.cmaEsIncPopsizeLabel.Location = new System.Drawing.Point(7, 273); + this.cmaEsIncPopsizeLabel.Name = "cmaEsIncPopsizeLabel"; + this.cmaEsIncPopsizeLabel.Size = new System.Drawing.Size(240, 23); + this.cmaEsIncPopsizeLabel.TabIndex = 26; + this.cmaEsIncPopsizeLabel.Text = "Increasing Population Size"; + this.toolTip1.SetToolTip(this.cmaEsIncPopsizeLabel, "Multiplier for increasing population size before each restart."); + // + // cmaEsIncPopSizeUpDown + // + this.cmaEsIncPopSizeUpDown.Enabled = false; + this.cmaEsIncPopSizeUpDown.Location = new System.Drawing.Point(309, 271); + this.cmaEsIncPopSizeUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.cmaEsIncPopSizeUpDown.Name = "cmaEsIncPopSizeUpDown"; + this.cmaEsIncPopSizeUpDown.Size = new System.Drawing.Size(94, 30); + this.cmaEsIncPopSizeUpDown.TabIndex = 25; + this.cmaEsIncPopSizeUpDown.Value = new decimal(new int[] { + 2, + 0, + 0, + 0}); + // + // cmaEsSigmaCheckBox + // + this.cmaEsSigmaCheckBox.AutoSize = true; + this.cmaEsSigmaCheckBox.Location = new System.Drawing.Point(11, 39); + this.cmaEsSigmaCheckBox.Name = "cmaEsSigmaCheckBox"; + this.cmaEsSigmaCheckBox.Size = new System.Drawing.Size(101, 27); + this.cmaEsSigmaCheckBox.TabIndex = 24; + this.cmaEsSigmaCheckBox.Text = "Sigma0"; + this.toolTip1.SetToolTip(this.cmaEsSigmaCheckBox, "Initial standard deviation of CMA-ES. By default, sigma0 is set to min_range / 6," + + "\r\nwhere min_range denotes the minimum range of the distributions in the search s" + + "pace."); + this.cmaEsSigmaCheckBox.UseVisualStyleBackColor = true; + this.cmaEsSigmaCheckBox.CheckedChanged += new System.EventHandler(this.CmaEsSigmaCheckedChanged); + // + // cmaEsSigmaNumUpDown + // + this.cmaEsSigmaNumUpDown.DecimalPlaces = 2; + this.cmaEsSigmaNumUpDown.Enabled = false; + this.cmaEsSigmaNumUpDown.Increment = new decimal(new int[] { + 1, + 0, + 0, + 131072}); + this.cmaEsSigmaNumUpDown.Location = new System.Drawing.Point(309, 38); + this.cmaEsSigmaNumUpDown.Name = "cmaEsSigmaNumUpDown"; + this.cmaEsSigmaNumUpDown.Size = new System.Drawing.Size(94, 30); + this.cmaEsSigmaNumUpDown.TabIndex = 23; + // + // QMC + // + this.QMC.Controls.Add(this.qmcDefaultButton); + this.QMC.Controls.Add(this.qmcTypeComboBox); + this.QMC.Controls.Add(this.qmcTypeLabel); + this.QMC.Controls.Add(this.qmcWarnAsyncSeedingCheckBox); + this.QMC.Controls.Add(this.qmcScrambleCheckBox); + this.QMC.Controls.Add(this.qmcWarnIndependentSamplingCheckBox); + this.QMC.Location = new System.Drawing.Point(4, 32); + this.QMC.Name = "QMC"; + this.QMC.Size = new System.Drawing.Size(406, 393); + this.QMC.TabIndex = 4; + this.QMC.Text = "QMC"; + this.QMC.UseVisualStyleBackColor = true; + // + // qmcDefaultButton + // + this.qmcDefaultButton.Location = new System.Drawing.Point(300, 349); + this.qmcDefaultButton.Name = "qmcDefaultButton"; + this.qmcDefaultButton.Size = new System.Drawing.Size(100, 38); + this.qmcDefaultButton.TabIndex = 33; + this.qmcDefaultButton.Text = "Default"; + this.toolTip1.SetToolTip(this.qmcDefaultButton, "Set to Optuna\'s default value."); + this.qmcDefaultButton.UseVisualStyleBackColor = true; + this.qmcDefaultButton.Click += new System.EventHandler(this.QmcDefaultButton_Click); + // + // qmcTypeComboBox + // + this.qmcTypeComboBox.FormattingEnabled = true; + this.qmcTypeComboBox.Items.AddRange(new object[] { + "sobol", + "halton"}); + this.qmcTypeComboBox.Location = new System.Drawing.Point(267, 10); + this.qmcTypeComboBox.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); + this.qmcTypeComboBox.Name = "qmcTypeComboBox"; + this.qmcTypeComboBox.Size = new System.Drawing.Size(135, 31); + this.qmcTypeComboBox.TabIndex = 32; + this.qmcTypeComboBox.Text = "sobol"; + // + // qmcTypeLabel + // + this.qmcTypeLabel.AutoSize = true; + this.qmcTypeLabel.Location = new System.Drawing.Point(3, 13); + this.qmcTypeLabel.Name = "qmcTypeLabel"; + this.qmcTypeLabel.Size = new System.Drawing.Size(97, 23); + this.qmcTypeLabel.TabIndex = 31; + this.qmcTypeLabel.Text = "QMC Type"; + this.toolTip1.SetToolTip(this.qmcTypeLabel, "The type of QMC sequence to be sampled.\r\n"); + // + // qmcWarnAsyncSeedingCheckBox + // + this.qmcWarnAsyncSeedingCheckBox.AutoSize = true; + this.qmcWarnAsyncSeedingCheckBox.Checked = true; + this.qmcWarnAsyncSeedingCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.qmcWarnAsyncSeedingCheckBox.Location = new System.Drawing.Point(7, 121); + this.qmcWarnAsyncSeedingCheckBox.Name = "qmcWarnAsyncSeedingCheckBox"; + this.qmcWarnAsyncSeedingCheckBox.Size = new System.Drawing.Size(284, 27); + this.qmcWarnAsyncSeedingCheckBox.TabIndex = 30; + this.qmcWarnAsyncSeedingCheckBox.Text = "Warn Asynchronous Seeding"; + this.toolTip1.SetToolTip(this.qmcWarnAsyncSeedingCheckBox, "If this is True, \r\na warning message is emitted \r\nwhen the scrambling (randomizat" + + "ion) is applied to the QMC sequence\r\nand the random seed of the sampler is not s" + + "et manually."); + this.qmcWarnAsyncSeedingCheckBox.UseVisualStyleBackColor = true; + // + // qmcScrambleCheckBox + // + this.qmcScrambleCheckBox.AutoSize = true; + this.qmcScrambleCheckBox.Location = new System.Drawing.Point(7, 55); + this.qmcScrambleCheckBox.Name = "qmcScrambleCheckBox"; + this.qmcScrambleCheckBox.Size = new System.Drawing.Size(116, 27); + this.qmcScrambleCheckBox.TabIndex = 29; + this.qmcScrambleCheckBox.Text = "Scramble"; + this.toolTip1.SetToolTip(this.qmcScrambleCheckBox, "If this option is True, \r\nscrambling (randomization) is applied to the QMC sequen" + + "ces."); + this.qmcScrambleCheckBox.UseVisualStyleBackColor = true; + // + // qmcWarnIndependentSamplingCheckBox + // + this.qmcWarnIndependentSamplingCheckBox.AutoSize = true; + this.qmcWarnIndependentSamplingCheckBox.Checked = true; + this.qmcWarnIndependentSamplingCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.qmcWarnIndependentSamplingCheckBox.Location = new System.Drawing.Point(7, 88); + this.qmcWarnIndependentSamplingCheckBox.Name = "qmcWarnIndependentSamplingCheckBox"; + this.qmcWarnIndependentSamplingCheckBox.Size = new System.Drawing.Size(284, 27); + this.qmcWarnIndependentSamplingCheckBox.TabIndex = 28; + this.qmcWarnIndependentSamplingCheckBox.Text = "Warn Independent Sampling"; + this.toolTip1.SetToolTip(this.qmcWarnIndependentSamplingCheckBox, "If this is True, \r\na warning message is emitted when the value of a parameter\r\nis" + + " sampled by using an independent sampler."); + this.qmcWarnIndependentSamplingCheckBox.UseVisualStyleBackColor = true; // // fileTabPage // - this.fileTabPage.Controls.Add(this.openResultFolderButton); - this.fileTabPage.Controls.Add(this.clearResultButton); - this.fileTabPage.Location = new System.Drawing.Point(4, 60); + this.fileTabPage.Controls.Add(this.groupBox1); + this.fileTabPage.Controls.Add(this.licenseGroupBox); + this.fileTabPage.Location = new System.Drawing.Point(4, 32); this.fileTabPage.Name = "fileTabPage"; this.fileTabPage.Padding = new System.Windows.Forms.Padding(3); - this.fileTabPage.Size = new System.Drawing.Size(379, 374); + this.fileTabPage.Size = new System.Drawing.Size(420, 440); this.fileTabPage.TabIndex = 4; this.fileTabPage.Text = "File"; this.fileTabPage.UseVisualStyleBackColor = true; // - // openResultFolderButton + // groupBox1 // - this.openResultFolderButton.Location = new System.Drawing.Point(62, 27); - this.openResultFolderButton.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); - this.openResultFolderButton.Name = "openResultFolderButton"; - this.openResultFolderButton.Size = new System.Drawing.Size(264, 39); - this.openResultFolderButton.TabIndex = 6; - this.openResultFolderButton.Text = "Open result file folder"; - this.openResultFolderButton.UseVisualStyleBackColor = true; - this.openResultFolderButton.Click += new System.EventHandler(this.OpenResultFolderButton_Click); + this.groupBox1.Controls.Add(this.clearResultButton); + this.groupBox1.Controls.Add(this.openResultFolderButton); + this.groupBox1.Location = new System.Drawing.Point(22, 6); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(378, 171); + this.groupBox1.TabIndex = 9; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Result"; // // clearResultButton // - this.clearResultButton.Location = new System.Drawing.Point(62, 92); + this.clearResultButton.Location = new System.Drawing.Point(58, 96); this.clearResultButton.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.clearResultButton.Name = "clearResultButton"; this.clearResultButton.Size = new System.Drawing.Size(264, 42); @@ -547,6 +1345,73 @@ private void InitializeComponent() this.clearResultButton.UseVisualStyleBackColor = true; this.clearResultButton.Click += new System.EventHandler(this.ClearResultButton_Click); // + // openResultFolderButton + // + this.openResultFolderButton.Location = new System.Drawing.Point(58, 45); + this.openResultFolderButton.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); + this.openResultFolderButton.Name = "openResultFolderButton"; + this.openResultFolderButton.Size = new System.Drawing.Size(264, 39); + this.openResultFolderButton.TabIndex = 6; + this.openResultFolderButton.Text = "Open result file folder"; + this.openResultFolderButton.UseVisualStyleBackColor = true; + this.openResultFolderButton.Click += new System.EventHandler(this.OpenResultFolderButton_Click); + // + // licenseGroupBox + // + this.licenseGroupBox.Controls.Add(this.showThirdPartyLicenseButton); + this.licenseGroupBox.Controls.Add(this.showTunnyLicenseButton); + this.licenseGroupBox.Location = new System.Drawing.Point(22, 214); + this.licenseGroupBox.Name = "licenseGroupBox"; + this.licenseGroupBox.Size = new System.Drawing.Size(378, 181); + this.licenseGroupBox.TabIndex = 8; + this.licenseGroupBox.TabStop = false; + this.licenseGroupBox.Text = "License"; + // + // showThirdPartyLicenseButton + // + this.showThirdPartyLicenseButton.Location = new System.Drawing.Point(58, 98); + this.showThirdPartyLicenseButton.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); + this.showThirdPartyLicenseButton.Name = "showThirdPartyLicenseButton"; + this.showThirdPartyLicenseButton.Size = new System.Drawing.Size(264, 42); + this.showThirdPartyLicenseButton.TabIndex = 8; + this.showThirdPartyLicenseButton.Text = "Show Third Party License"; + this.showThirdPartyLicenseButton.UseVisualStyleBackColor = true; + this.showThirdPartyLicenseButton.Click += new System.EventHandler(this.ShowThirdPartyLicenseButton_Click); + // + // showTunnyLicenseButton + // + this.showTunnyLicenseButton.Location = new System.Drawing.Point(58, 44); + this.showTunnyLicenseButton.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); + this.showTunnyLicenseButton.Name = "showTunnyLicenseButton"; + this.showTunnyLicenseButton.Size = new System.Drawing.Size(264, 42); + this.showTunnyLicenseButton.TabIndex = 7; + this.showTunnyLicenseButton.Text = "Show Tunny License"; + this.showTunnyLicenseButton.UseVisualStyleBackColor = true; + this.showTunnyLicenseButton.Click += new System.EventHandler(this.ShowTunnyLicenseButton_Click); + // + // visualizeTypeGroupBox + // + this.visualizeTypeGroupBox.Controls.Add(this.visualizeTypeComboBox); + this.visualizeTypeGroupBox.Controls.Add(this.visualizeButton); + this.visualizeTypeGroupBox.Location = new System.Drawing.Point(25, 111); + this.visualizeTypeGroupBox.Name = "visualizeTypeGroupBox"; + this.visualizeTypeGroupBox.Size = new System.Drawing.Size(373, 138); + this.visualizeTypeGroupBox.TabIndex = 16; + this.visualizeTypeGroupBox.TabStop = false; + this.visualizeTypeGroupBox.Text = "Visualize type"; + // + // kMeansClusteringGroupBox + // + this.kMeansClusteringGroupBox.Controls.Add(this.visualizeClusterNumUpDown); + this.kMeansClusteringGroupBox.Controls.Add(this.visualizeNumClusterLabel); + this.kMeansClusteringGroupBox.Controls.Add(this.visualizeClusteringPlotButton); + this.kMeansClusteringGroupBox.Location = new System.Drawing.Point(25, 270); + this.kMeansClusteringGroupBox.Name = "kMeansClusteringGroupBox"; + this.kMeansClusteringGroupBox.Size = new System.Drawing.Size(373, 147); + this.kMeansClusteringGroupBox.TabIndex = 17; + this.kMeansClusteringGroupBox.TabStop = false; + this.kMeansClusteringGroupBox.Text = "k-means clustering"; + // // OptimizationWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F); @@ -566,11 +1431,39 @@ private void InitializeComponent() this.optimizeTabPage.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.timeoutNumUpDown)).EndInit(); this.visualizeTabPage.ResumeLayout(false); - this.visualizeTabPage.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.visualizeClusterNumUpDown)).EndInit(); this.outputTabPage.ResumeLayout(false); this.outputTabPage.PerformLayout(); this.settingsTabPage.ResumeLayout(false); + this.settingsTabControl.ResumeLayout(false); + this.TPE.ResumeLayout(false); + this.TPE.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tpeEINumUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tpeStartupNumUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tpePriorNumUpDown)).EndInit(); + this.GP.ResumeLayout(false); + this.GP.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.boTorchStartupNumUpDown)).EndInit(); + this.NSGAII.ResumeLayout(false); + this.NSGAII.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nsgaPopulationSizeUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nsgaSwappingProbUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nsgaCrossoverProbUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nsgaMutationProbUpDown)).EndInit(); + this.CMAES.ResumeLayout(false); + this.CMAES.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.cmaEsPopulationSizeUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.cmaEsStartupNumUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.cmaEsIncPopSizeUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.cmaEsSigmaNumUpDown)).EndInit(); + this.QMC.ResumeLayout(false); + this.QMC.PerformLayout(); this.fileTabPage.ResumeLayout(false); + this.groupBox1.ResumeLayout(false); + this.licenseGroupBox.ResumeLayout(false); + this.visualizeTypeGroupBox.ResumeLayout(false); + this.kMeansClusteringGroupBox.ResumeLayout(false); + this.kMeansClusteringGroupBox.PerformLayout(); this.ResumeLayout(false); } @@ -592,16 +1485,9 @@ private void InitializeComponent() private System.Windows.Forms.TabPage optimizeTabPage; private System.Windows.Forms.TabPage visualizeTabPage; private System.Windows.Forms.Button visualizeButton; - private System.Windows.Forms.Label visualizeTypeLabel; private System.Windows.Forms.ComboBox visualizeTypeComboBox; private System.ComponentModel.BackgroundWorker outputResultBackgroundWorker; private System.Windows.Forms.TabPage settingsTabPage; - private System.Windows.Forms.Button settingsOpenAPIPage; - private System.Windows.Forms.ComboBox settingsAPIComboBox; - private System.Windows.Forms.Button settingsFolderOpen; - private System.Windows.Forms.Label settingLabel; - private System.Windows.Forms.Button settingsFromJson; - private System.Windows.Forms.Button settingsToJson; private System.Windows.Forms.Button dashboardButton; private System.Windows.Forms.TabPage outputTabPage; private System.Windows.Forms.Button outputAllTrialsButton; @@ -618,6 +1504,68 @@ private void InitializeComponent() private System.Windows.Forms.NumericUpDown timeoutNumUpDown; private System.Windows.Forms.ToolTip toolTip1; private System.Windows.Forms.Label Timeout; + private System.Windows.Forms.TabControl settingsTabControl; + private System.Windows.Forms.TabPage TPE; + private System.Windows.Forms.TabPage GP; + private System.Windows.Forms.TabPage NSGAII; + private System.Windows.Forms.TabPage CMAES; + private System.Windows.Forms.TabPage QMC; + private System.Windows.Forms.Label tpeNEICandidatesLabel; + private System.Windows.Forms.Label tpeNStartupTrialsLabel; + private System.Windows.Forms.Label tpePriorWeightLabel; + private System.Windows.Forms.NumericUpDown tpeEINumUpDown; + private System.Windows.Forms.NumericUpDown tpeStartupNumUpDown; + private System.Windows.Forms.NumericUpDown tpePriorNumUpDown; + private System.Windows.Forms.CheckBox tpeConstantLiarCheckBox; + private System.Windows.Forms.CheckBox tpeWarnIndependentSamplingCheckBox; + private System.Windows.Forms.CheckBox tpeGroupCheckBox; + private System.Windows.Forms.CheckBox tpeMultivariateCheckBox; + private System.Windows.Forms.CheckBox tpeConsiderEndpointsCheckBox; + private System.Windows.Forms.CheckBox tpeConsiderMagicClipCheckBox; + private System.Windows.Forms.CheckBox tpeConsiderPriorCheckBox; + private System.Windows.Forms.Label boTorchNStartupTrialsLabel; + private System.Windows.Forms.NumericUpDown boTorchStartupNumUpDown; + private System.Windows.Forms.CheckBox nsgaMutationProbCheckBox; + private System.Windows.Forms.Label nsgaPopulationSizeLabel; + private System.Windows.Forms.NumericUpDown nsgaPopulationSizeUpDown; + private System.Windows.Forms.Label nsgaSwappingProbLabel; + private System.Windows.Forms.NumericUpDown nsgaSwappingProbUpDown; + private System.Windows.Forms.Label nsgaCrossoverProbLabel; + private System.Windows.Forms.NumericUpDown nsgaCrossoverProbUpDown; + private System.Windows.Forms.NumericUpDown nsgaMutationProbUpDown; + private System.Windows.Forms.CheckBox cmaEsRestartCheckBox; + private System.Windows.Forms.CheckBox cmaEsUseSaparableCmaCheckBox; + private System.Windows.Forms.Label cmaEsNStartupTrialsLabel; + private System.Windows.Forms.NumericUpDown cmaEsStartupNumUpDown; + private System.Windows.Forms.CheckBox cmaEsConsiderPruneTrialsCheckBox; + private System.Windows.Forms.CheckBox cmaEsWarnIndependentSamplingCheckBox; + private System.Windows.Forms.Label cmaEsIncPopsizeLabel; + private System.Windows.Forms.NumericUpDown cmaEsIncPopSizeUpDown; + private System.Windows.Forms.CheckBox cmaEsSigmaCheckBox; + private System.Windows.Forms.NumericUpDown cmaEsSigmaNumUpDown; + private System.Windows.Forms.CheckBox qmcWarnIndependentSamplingCheckBox; + private System.Windows.Forms.ComboBox qmcTypeComboBox; + private System.Windows.Forms.Label qmcTypeLabel; + private System.Windows.Forms.CheckBox qmcWarnAsyncSeedingCheckBox; + private System.Windows.Forms.CheckBox qmcScrambleCheckBox; + private System.Windows.Forms.Button tpeDefaultButton; + private System.Windows.Forms.Button boTorchDefaultButton; + private System.Windows.Forms.Button nsgaDefaultButton; + private System.Windows.Forms.Button cmaEsDefaultButton; + private System.Windows.Forms.Button qmcDefaultButton; + private System.Windows.Forms.Label visualizeNumClusterLabel; + private System.Windows.Forms.NumericUpDown visualizeClusterNumUpDown; + private System.Windows.Forms.Button visualizeClusteringPlotButton; + private System.Windows.Forms.ComboBox nsgaCrossoverComboBox; + private System.Windows.Forms.CheckBox nsgaCrossoverCheckBox; + private System.Windows.Forms.NumericUpDown cmaEsPopulationSizeUpDown; + private System.Windows.Forms.Label cmaEsPopulationSizeLabel; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.GroupBox licenseGroupBox; + private System.Windows.Forms.Button showThirdPartyLicenseButton; + private System.Windows.Forms.Button showTunnyLicenseButton; + private System.Windows.Forms.GroupBox kMeansClusteringGroupBox; + private System.Windows.Forms.GroupBox visualizeTypeGroupBox; } } diff --git a/Tunny/UI/OptimizationWindow.cs b/Tunny/UI/OptimizationWindow.cs index eaed97a8..e9e6463c 100644 --- a/Tunny/UI/OptimizationWindow.cs +++ b/Tunny/UI/OptimizationWindow.cs @@ -88,6 +88,8 @@ private void InitializeUIValues() studyNameTextBox.Text = _settings.StudyName; outputModelNumTextBox.Text = _settings.Result.OutputNumberString; visualizeTypeComboBox.SelectedIndex = _settings.Result.SelectVisualizeType; + visualizeClusterNumUpDown.Value = _settings.Result.NumberOfClusters; + InitializeSamplerSettings(); } private void UpdateGrasshopper(IList parameters) @@ -111,7 +113,8 @@ private void FormClosingXButton(object sender, FormClosingEventArgs e) { var ghCanvas = Owner as GH_DocumentEditor; ghCanvas?.EnableUI(); - SaveUIValues(); + GetUIValues(); + _settings.Serialize(_component.GhInOut.ComponentFolder + @"\Settings.json"); //TODO: use cancelAsync to stop the background worker safely if (optimizeBackgroundWorker != null) @@ -124,7 +127,7 @@ private void FormClosingXButton(object sender, FormClosingEventArgs e) } } - private void SaveUIValues() + private void GetUIValues() { _settings.Optimize.SelectSampler = samplerComboBox.SelectedIndex; _settings.Optimize.NumberOfTrials = (int)nTrialNumUpDown.Value; @@ -133,7 +136,8 @@ private void SaveUIValues() _settings.StudyName = studyNameTextBox.Text; _settings.Result.OutputNumberString = outputModelNumTextBox.Text; _settings.Result.SelectVisualizeType = visualizeTypeComboBox.SelectedIndex; - _settings.Serialize(_component.GhInOut.ComponentFolder + @"\Settings.json"); + _settings.Result.NumberOfClusters = (int)visualizeClusterNumUpDown.Value; + _settings.Optimize.Sampler = GetSamplerSettings(); } } } diff --git a/Tunny/UI/OptimizationWindow.resx b/Tunny/UI/OptimizationWindow.resx index 1796dc55..a9924921 100644 --- a/Tunny/UI/OptimizationWindow.resx +++ b/Tunny/UI/OptimizationWindow.resx @@ -123,6 +123,15 @@ 633, 17 + + 633, 17 + + + If this is True, +the covariance matrix is constrained to be diagonal. +Due to reduce the model complexity, the learning rate for the covariance matrix is increased. +Consequently, this algorithm outperforms CMA-ES on separable functions. + 17, 17 diff --git a/Tunny/UI/OptimizeWindowTab/FileTab.cs b/Tunny/UI/OptimizeWindowTab/FileTab.cs index 6120187f..8cf954df 100644 --- a/Tunny/UI/OptimizeWindowTab/FileTab.cs +++ b/Tunny/UI/OptimizeWindowTab/FileTab.cs @@ -16,5 +16,14 @@ private void ClearResultButton_Click(object sender, EventArgs e) { File.Delete(_settings.Storage); } + + private void ShowTunnyLicenseButton_Click(object sender, EventArgs e) + { + Process.Start("https://github.com/hrntsm/Tunny/blob/main/LICENSE"); + } + private void ShowThirdPartyLicenseButton_Click(object sender, EventArgs e) + { + Process.Start("https://github.com/hrntsm/Tunny/blob/main/PYTHON_PACKAGE_LICENSES"); + } } } diff --git a/Tunny/UI/OptimizeWindowTab/OptimizeTab.cs b/Tunny/UI/OptimizeWindowTab/OptimizeTab.cs index b8f44a84..893385c9 100644 --- a/Tunny/UI/OptimizeWindowTab/OptimizeTab.cs +++ b/Tunny/UI/OptimizeWindowTab/OptimizeTab.cs @@ -17,11 +17,7 @@ private void OptimizeRunButton_Click(object sender, EventArgs e) ghCanvas.DisableUI(); optimizeRunButton.Enabled = false; - _settings.Optimize.NumberOfTrials = (int)nTrialNumUpDown.Value; - _settings.Optimize.SelectSampler = samplerComboBox.SelectedIndex; - _settings.StudyName = studyNameTextBox.Text; - _settings.Optimize.Timeout = (double)timeoutNumUpDown.Value; - _settings.Optimize.LoadExistStudy = loadIfExistsCheckBox.Checked; + GetUIValues(); OptimizeLoop.Settings = _settings; if (!CheckInputValue(ghCanvas)) @@ -47,10 +43,10 @@ private bool CheckInputValue(GH_DocumentEditor ghCanvas) return false; } else if (objectiveValues.Count > 1 - && (samplerComboBox.Text == "CMA-ES" || samplerComboBox.Text == "Random" || samplerComboBox.Text == "Grid")) + && (samplerComboBox.Text == "EvolutionStrategy (CMA-ES)")) { TunnyMessageBox.Show( - "CMA-ES, Random and Grid samplers only support single objective optimization.", + "CMA-ES samplers only support single objective optimization.", "Tunny", MessageBoxButtons.OK, MessageBoxIcon.Error diff --git a/Tunny/UI/OptimizeWindowTab/OutputTab.cs b/Tunny/UI/OptimizeWindowTab/OutputTab.cs index e08ca07e..46b14f66 100644 --- a/Tunny/UI/OptimizeWindowTab/OutputTab.cs +++ b/Tunny/UI/OptimizeWindowTab/OutputTab.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Windows.Forms; @@ -37,13 +38,17 @@ private void RunOutputLoop(OutputMode mode) OutputLoop.Settings = _settings; OutputLoop.StudyName = studyNameTextBox.Text; OutputLoop.NickNames = _component.GhInOut.Variables.Select(x => x.NickName).ToArray(); - int[] indices = outputModelNumTextBox.Text.Split(',').Select(int.Parse).ToArray(); - SetOutputIndices(mode, indices); - outputResultBackgroundWorker.RunWorkerAsync(_component); + bool result = SetOutputIndices(mode); + if (result) + { + outputResultBackgroundWorker.RunWorkerAsync(_component); + } } - private static void SetOutputIndices(OutputMode mode, int[] indices) + private bool SetOutputIndices(OutputMode mode) { + bool result = true; + var indices = new List(); switch (mode) { case OutputMode.ParatoSolutions: @@ -53,15 +58,39 @@ private static void SetOutputIndices(OutputMode mode, int[] indices) OutputLoop.Indices = new[] { -10 }; break; case OutputMode.ModelNumber: - OutputLoop.Indices = indices; + result = ParseModelNumberInput(ref indices); + if (result) + { + OutputLoop.Indices = indices.ToArray(); + } break; case OutputMode.ReflectToSliders: - CheckIndicesLength(indices); - OutputLoop.Indices = new[] { indices[0] }; + result = ParseModelNumberInput(ref indices); + if (result) + { + CheckIndicesLength(indices.ToArray()); + OutputLoop.Indices = new[] { indices[0] }; + } break; default: throw new ArgumentException("Unsupported output mode."); } + return result; + } + + private bool ParseModelNumberInput(ref List indices) + { + bool result = true; + try + { + indices = outputModelNumTextBox.Text.Split(',').Select(int.Parse).ToList(); + } + catch (Exception) + { + TunnyMessageBox.Show("The model number format of the input is incorrect. \nPlease use a comma separator as follows.\n\"1,2,3\"", "Tunny"); + result = false; + } + return result; } private static void CheckIndicesLength(int[] indices) diff --git a/Tunny/UI/OptimizeWindowTab/SettingsTab.cs b/Tunny/UI/OptimizeWindowTab/SettingsTab.cs index 85a8e34b..3f65ef6c 100644 --- a/Tunny/UI/OptimizeWindowTab/SettingsTab.cs +++ b/Tunny/UI/OptimizeWindowTab/SettingsTab.cs @@ -1,46 +1,226 @@ using System; -using System.Diagnostics; using System.Windows.Forms; +using Tunny.Settings; + namespace Tunny.UI { public partial class OptimizationWindow : Form { - private void SettingsOpenAPIPage_Click(object sender, EventArgs e) + private void NsgaMutationProbCheckedChanged(object sender, EventArgs e) { - int apiIndex = settingsAPIComboBox.SelectedIndex; - switch (apiIndex) + nsgaMutationProbUpDown.Enabled = nsgaMutationProbCheckBox.Checked; + } + + private void NsgaCrossoverCheckBox_CheckedChanged(object sender, EventArgs e) + { + nsgaCrossoverComboBox.Enabled = nsgaCrossoverCheckBox.Checked; + } + + private void CmaEsSigmaCheckedChanged(object sender, EventArgs e) + { + cmaEsSigmaNumUpDown.Enabled = cmaEsSigmaCheckBox.Checked; + } + + private void CmaEsRestartStrategyCheckedChanged(object sender, EventArgs e) + { + cmaEsIncPopSizeUpDown.Enabled = cmaEsRestartCheckBox.Checked; + cmaEsPopulationSizeUpDown.Enabled = cmaEsRestartCheckBox.Checked; + } + + private void TpeDefaultButton_Click(object sender, EventArgs e) + { + SetTpeSettings(new Tpe()); + } + + private void NsgaDefaultButton_Click(object sender, EventArgs e) + { + SetNSGAIISettings(new NSGAII()); + } + + private void CmaEsDefaultButton_Click(object sender, EventArgs e) + { + SetCmaEsSettings(new CmaEs()); + } + + private void BoTorchDefaultButton_Click(object sender, EventArgs e) + { + SetBoTorchSettings(new BoTorch()); + } + + private void QmcDefaultButton_Click(object sender, EventArgs e) + { + SetQMCSettings(new QuasiMonteCarlo()); + } + + private void InitializeSamplerSettings() + { + Sampler sampler = _settings.Optimize.Sampler; + SetTpeSettings(sampler.Tpe); + SetBoTorchSettings(sampler.BoTorch); + SetNSGAIISettings(sampler.NsgaII); + SetCmaEsSettings(sampler.CmaEs); + SetQMCSettings(sampler.QMC); + } + + private void SetTpeSettings(Tpe tpe) + { + tpeStartupNumUpDown.Value = tpe.NStartupTrials; + tpeEINumUpDown.Value = tpe.NEICandidates; + tpePriorNumUpDown.Value = (decimal)tpe.PriorWeight; + + tpeConsiderPriorCheckBox.Checked = tpe.ConsiderPrior; + tpeMultivariateCheckBox.Checked = tpe.Multivariate; + tpeConsiderEndpointsCheckBox.Checked = tpe.ConsiderEndpoints; + tpeGroupCheckBox.Checked = tpe.Group; + tpeConsiderMagicClipCheckBox.Checked = tpe.ConsiderMagicClip; + tpeConstantLiarCheckBox.Checked = tpe.ConstantLiar; + tpeWarnIndependentSamplingCheckBox.Checked = tpe.WarnIndependentSampling; + } + + private void SetBoTorchSettings(BoTorch boTorch) + { + boTorchStartupNumUpDown.Value = boTorch.NStartupTrials; + } + + private void SetNSGAIISettings(NSGAII nsga) + { + nsgaMutationProbCheckBox.Checked = nsga.MutationProb != null; + nsgaMutationProbUpDown.Enabled = nsgaMutationProbCheckBox.Checked; + nsgaMutationProbUpDown.Value = nsga.MutationProb != null ? (decimal)nsga.MutationProb : 0; + nsgaCrossoverProbUpDown.Value = (decimal)nsga.CrossoverProb; + nsgaSwappingProbUpDown.Value = (decimal)nsga.SwappingProb; + nsgaPopulationSizeUpDown.Value = nsga.PopulationSize; + nsgaCrossoverCheckBox.Checked = nsga.Crossover != string.Empty; + nsgaCrossoverComboBox.Enabled = nsga.Crossover != string.Empty; + nsgaCrossoverComboBox.SelectedIndex = SetNSGAIICrossoverSetting(nsga.Crossover); + } + + private static int SetNSGAIICrossoverSetting(string crossover) + { + switch (crossover) { - case 0: // TPE - Process.Start("https://optuna.readthedocs.io/en/stable/reference/generated/optuna.samplers.TPESampler.html"); - break; - case 1: // NSGA2 - Process.Start("https://optuna.readthedocs.io/en/stable/reference/generated/optuna.samplers.NSGAIISampler.html"); - break; - case 2: // CMA-ES - Process.Start("https://optuna.readthedocs.io/en/stable/reference/generated/optuna.samplers.CmaEsSampler.html"); - break; - case 3: // Random - Process.Start("https://optuna.readthedocs.io/en/stable/reference/generated/optuna.samplers.RandomSampler.html"); - break; + case "": + case "Uniform": + return 0; + case "BLXAlpha": + return 1; + case "SPX": + return 2; + case "SBX": + return 3; + case "VSBX": + return 4; + case "UNDX": + return 5; + default: + throw new ArgumentException("Unexpected crossover method."); } } - private void SettingsFromJson_Click(object sender, EventArgs e) + private void SetCmaEsSettings(CmaEs cmaEs) + { + cmaEsStartupNumUpDown.Value = cmaEs.NStartupTrials; + cmaEsSigmaCheckBox.Checked = cmaEs.Sigma0 != null; + cmaEsSigmaNumUpDown.Value = cmaEs.Sigma0 != null ? (decimal)cmaEs.Sigma0 : 0; + cmaEsSigmaNumUpDown.Enabled = cmaEsSigmaCheckBox.Checked; + + cmaEsWarnIndependentSamplingCheckBox.Checked = cmaEs.WarnIndependentSampling; + cmaEsConsiderPruneTrialsCheckBox.Checked = cmaEs.ConsiderPrunedTrials; + cmaEsUseSaparableCmaCheckBox.Checked = cmaEs.UseSeparableCma; + + cmaEsRestartCheckBox.Checked = cmaEs.RestartStrategy != string.Empty; + cmaEsIncPopSizeUpDown.Enabled = cmaEsRestartCheckBox.Checked; + cmaEsIncPopSizeUpDown.Value = cmaEs.IncPopsize; + cmaEsPopulationSizeUpDown.Enabled = cmaEsRestartCheckBox.Checked; + cmaEsPopulationSizeUpDown.Value = cmaEs.PopulationSize != null ? (decimal)cmaEs.PopulationSize : (decimal)1; + } + + private void SetQMCSettings(QuasiMonteCarlo qmc) + { + qmcTypeComboBox.SelectedIndex = qmc.QmcType == "sobol" ? 0 : 1; + + qmcScrambleCheckBox.Checked = qmc.Scramble; + qmcWarnIndependentSamplingCheckBox.Checked = qmc.WarnIndependentSampling; + qmcWarnAsyncSeedingCheckBox.Checked = qmc.WarnAsynchronousSeeding; + } + + private Sampler GetSamplerSettings() + { + return new Sampler + { + Tpe = GetTpeSettings(), + BoTorch = GetBoTorchSettings(), + NsgaII = GetNSGAIISettings(), + CmaEs = GetCmaEsSettings(), + QMC = GetQMCSettings() + }; + } + + private Tpe GetTpeSettings() + { + return new Tpe + { + NStartupTrials = (int)tpeStartupNumUpDown.Value, + NEICandidates = (int)tpeEINumUpDown.Value, + PriorWeight = (double)tpePriorNumUpDown.Value, + ConsiderPrior = tpeConsiderPriorCheckBox.Checked, + Multivariate = tpeMultivariateCheckBox.Checked, + ConsiderEndpoints = tpeConsiderEndpointsCheckBox.Checked, + Group = tpeGroupCheckBox.Checked, + ConsiderMagicClip = tpeConsiderMagicClipCheckBox.Checked, + ConstantLiar = tpeConstantLiarCheckBox.Checked, + WarnIndependentSampling = tpeWarnIndependentSamplingCheckBox.Checked + }; + } + + private BoTorch GetBoTorchSettings() + { + return new BoTorch + { + NStartupTrials = (int)boTorchStartupNumUpDown.Value + }; + } + + private NSGAII GetNSGAIISettings() { - LoadSettingJson(); - InitializeUIValues(); + return new NSGAII + { + MutationProb = nsgaMutationProbCheckBox.Checked + ? (double?)nsgaMutationProbUpDown.Value : null, + CrossoverProb = (double)nsgaCrossoverProbUpDown.Value, + SwappingProb = (double)nsgaSwappingProbUpDown.Value, + PopulationSize = (int)nsgaPopulationSizeUpDown.Value, + Crossover = nsgaCrossoverCheckBox.Checked + ? nsgaCrossoverComboBox.Text : string.Empty, + }; } - private void SettingsToJson_Click(object sender, EventArgs e) + private CmaEs GetCmaEsSettings() { - SaveUIValues(); + return new CmaEs + { + NStartupTrials = (int)cmaEsStartupNumUpDown.Value, + Sigma0 = cmaEsSigmaCheckBox.Checked + ? (double?)cmaEsSigmaNumUpDown.Value : null, + WarnIndependentSampling = cmaEsWarnIndependentSamplingCheckBox.Checked, + ConsiderPrunedTrials = cmaEsConsiderPruneTrialsCheckBox.Checked, + UseSeparableCma = cmaEsUseSaparableCmaCheckBox.Checked, + RestartStrategy = cmaEsRestartCheckBox.Checked ? "ipop" : string.Empty, + IncPopsize = (int)cmaEsIncPopSizeUpDown.Value, + PopulationSize = cmaEsRestartCheckBox.Checked ? (int?)cmaEsPopulationSizeUpDown.Value : null, + }; } - private void SettingsFolderOpen_Click(object sender, EventArgs e) + private QuasiMonteCarlo GetQMCSettings() { - SaveUIValues(); - Process.Start("EXPLORER.EXE", _component.GhInOut.ComponentFolder); + return new QuasiMonteCarlo + { + QmcType = qmcTypeComboBox.SelectedIndex == 0 ? "sobol" : "halton", + Scramble = qmcScrambleCheckBox.Checked, + WarnIndependentSampling = qmcWarnIndependentSamplingCheckBox.Checked, + WarnAsynchronousSeeding = qmcWarnAsyncSeedingCheckBox.Checked + }; } } } diff --git a/Tunny/UI/OptimizeWindowTab/VisualizeTab.cs b/Tunny/UI/OptimizeWindowTab/VisualizeTab.cs index 4ce1f948..0b0e5980 100644 --- a/Tunny/UI/OptimizeWindowTab/VisualizeTab.cs +++ b/Tunny/UI/OptimizeWindowTab/VisualizeTab.cs @@ -26,8 +26,14 @@ private void DashboardButton_Click(object sender, EventArgs e) private void SelectedTypePlotButton_Click(object sender, EventArgs e) { - var optuna = new Optuna(_component.GhInOut.ComponentFolder, _settings); + var optuna = new Optuna(_component.GhInOut.ComponentFolder, _settings, _component.GhInOut.HasConstraint); optuna.ShowSelectedTypePlot(visualizeTypeComboBox.Text, studyNameTextBox.Text); } + + private void VisualizeClusteringPlotButton_Click(object sender, EventArgs e) + { + var optuna = new Optuna(_component.GhInOut.ComponentFolder, _settings, _component.GhInOut.HasConstraint); + optuna.ShowClusteringPlot(studyNameTextBox.Text, (int)visualizeClusterNumUpDown.Value); + } } } diff --git a/Tunny/UI/PythonInstallDialog.Designer.cs b/Tunny/UI/PythonInstallDialog.Designer.cs index 4a5a1f40..4a94bab6 100644 --- a/Tunny/UI/PythonInstallDialog.Designer.cs +++ b/Tunny/UI/PythonInstallDialog.Designer.cs @@ -39,48 +39,52 @@ private void InitializeComponent() // // installProgressBar // - this.installProgressBar.Location = new System.Drawing.Point(12, 72); + this.installProgressBar.Location = new System.Drawing.Point(22, 144); + this.installProgressBar.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.installProgressBar.Name = "installProgressBar"; - this.installProgressBar.Size = new System.Drawing.Size(334, 23); + this.installProgressBar.Size = new System.Drawing.Size(501, 34); this.installProgressBar.TabIndex = 0; // // installerTitleLabel // this.installerTitleLabel.AutoSize = true; - this.installerTitleLabel.Location = new System.Drawing.Point(12, 9); + this.installerTitleLabel.Location = new System.Drawing.Point(18, 14); + this.installerTitleLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.installerTitleLabel.Name = "installerTitleLabel"; - this.installerTitleLabel.Size = new System.Drawing.Size(282, 15); + this.installerTitleLabel.Size = new System.Drawing.Size(427, 23); this.installerTitleLabel.TabIndex = 1; this.installerTitleLabel.Text = "Installing Python packages depending on Tunny"; // // installItemLabel // - this.installItemLabel.Location = new System.Drawing.Point(35, 39); + this.installItemLabel.Location = new System.Drawing.Point(52, 58); + this.installItemLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.installItemLabel.Name = "installItemLabel"; - this.installItemLabel.Size = new System.Drawing.Size(288, 30); + this.installItemLabel.Size = new System.Drawing.Size(432, 45); this.installItemLabel.TabIndex = 2; this.installItemLabel.Text = "Now Installing: "; // // notificationLabel // - this.notificationLabel.Location = new System.Drawing.Point(12, 109); + this.notificationLabel.Location = new System.Drawing.Point(18, 197); + this.notificationLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.notificationLabel.Name = "notificationLabel"; - this.notificationLabel.Size = new System.Drawing.Size(334, 53); + this.notificationLabel.Size = new System.Drawing.Size(494, 80); this.notificationLabel.TabIndex = 3; this.notificationLabel.Text = "**This process runs only when Tunny is launched for the first time.**"; // // PythonInstallDialog // - this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.ClientSize = new System.Drawing.Size(358, 161); + this.ClientSize = new System.Drawing.Size(537, 286); this.Controls.Add(this.notificationLabel); this.Controls.Add(this.installItemLabel); this.Controls.Add(this.installerTitleLabel); this.Controls.Add(this.installProgressBar); this.Font = new System.Drawing.Font("Meiryo UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.Name = "PythonInstallDialog"; this.Text = "PythonInstaller"; this.TopMost = true; diff --git a/Tunny/Util/Converter.cs b/Tunny/Util/Converter.cs index e42a11af..b6f9dbc1 100644 --- a/Tunny/Util/Converter.cs +++ b/Tunny/Util/Converter.cs @@ -43,7 +43,7 @@ public static string GooToString(IGH_Goo goo, bool isGeometryBaseToJson, Seriali case GH_Mesh mesh: return mesh.Value.ToJSON(option); case GH_Brep brep: - return brep.Value.ToJSON(option); + return brep.IsValid ? brep.Value.ToJSON(option) : string.Empty; case GH_Curve curve: return curve.Value.ToJSON(option); case GH_Surface surface: diff --git a/Tunny/Util/GrasshopperInOut.cs b/Tunny/Util/GrasshopperInOut.cs index 88ade169..7acd76c1 100644 --- a/Tunny/Util/GrasshopperInOut.cs +++ b/Tunny/Util/GrasshopperInOut.cs @@ -11,8 +11,6 @@ using Grasshopper.Kernel.Special; using Grasshopper.Kernel.Types; -using Rhino.FileIO; - using Tunny.Component; using Tunny.Type; using Tunny.UI; @@ -31,6 +29,7 @@ public class GrasshopperInOut public List Sliders { get; set; } public string ComponentFolder { get; } public List Variables { get; set; } + public bool HasConstraint { get; set; } public string DocumentPath { get; set; } public string DocumentName { get; set; } @@ -120,7 +119,7 @@ private void SetInputSliderValues(ICollection variables) { nickName = "param" + i++; } - + double eps = Convert.ToDouble(slider.Slider.Epsilon); switch (slider.Slider.Type) { case Grasshopper.GUI.Base.GH_SliderAccuracy.Even: @@ -145,24 +144,26 @@ private void SetInputSliderValues(ICollection variables) break; } - variables.Add(new Variable(Convert.ToDouble(lowerBond), Convert.ToDouble(upperBond), isInteger, nickName)); + variables.Add(new Variable(Convert.ToDouble(lowerBond), Convert.ToDouble(upperBond), isInteger, nickName, eps)); } } private void SetInputGenePoolValues(ICollection variables) { - int count = 0; - - foreach (GalapagosGeneListObject genePool in _genePool) + var nickNames = new List(); + for (int i = 0; i < _genePool.Count; i++) { + GalapagosGeneListObject genePool = _genePool[i]; + string nickName = nickNames.Contains(genePool.NickName) ? genePool.NickName + i + "-" : genePool.NickName; + nickNames.Add(nickName); bool isInteger = genePool.Decimals == 0; decimal lowerBond = genePool.Minimum; decimal upperBond = genePool.Maximum; - + double eps = Math.Pow(10, -genePool.Decimals); for (int j = 0; j < genePool.Count; j++) { - string nickName = "genepool" + count++; - variables.Add(new Variable(Convert.ToDouble(lowerBond), Convert.ToDouble(upperBond), isInteger, nickName)); + string name = nickNames[i] + j; + variables.Add(new Variable(Convert.ToDouble(lowerBond), Convert.ToDouble(upperBond), isInteger, name, eps)); } } } @@ -222,6 +223,7 @@ private void SetAttributes() if (goo is GH_FishAttribute fishAttr) { _attributes = fishAttr; + HasConstraint = fishAttr.Value.ContainsKey("Constraint"); break; } } @@ -374,14 +376,26 @@ public Dictionary> GetAttributes() } var value = new List(); - var objList = _attributes.Value[key] as List; - foreach (object param in objList) + if (key == "Constraint") { - if (param is IGH_Goo goo) + object obj = _attributes.Value[key]; + if (obj is double val) { - value.Add(Converter.GooToString(goo, true)); + value.Add(val.ToString()); } } + else + { + var objList = _attributes.Value[key] as List; + foreach (object param in objList) + { + if (param is IGH_Goo goo) + { + value.Add(Converter.GooToString(goo, true)); + } + } + } + attrs.Add(key, value); } diff --git a/Tunny/Util/PythonInstaller.cs b/Tunny/Util/PythonInstaller.cs index d9c0fc86..7c6e7641 100644 --- a/Tunny/Util/PythonInstaller.cs +++ b/Tunny/Util/PythonInstaller.cs @@ -54,8 +54,9 @@ internal static bool CheckPackagesIsInstalled() } foreach (string package in packageList) { - string[] singleFilePackages = { "bottle", "optuna-dashboard", "six", "PyYAML", "scikit-learn", "threadpoolctl" }; - if (!Installer.IsModuleInstalled(package) && !singleFilePackages.Contains(package)) + string[] singleFilePackages = { "bottle", "optuna-dashboard", "six", "PyYAML", "scikit-learn", "threadpoolctl", "typing_extensions" }; + string[] useUnderLinePackages = { "opt-einsum", "pyro-api", "pyro-ppl" }; + if (!Installer.IsModuleInstalled(package) && !singleFilePackages.Contains(package) && !useUnderLinePackages.Contains(package)) { return false; } diff --git a/Tunny/Util/Variables.cs b/Tunny/Util/Variables.cs index 4407b955..12e88996 100644 --- a/Tunny/Util/Variables.cs +++ b/Tunny/Util/Variables.cs @@ -6,13 +6,15 @@ public struct Variable public double UpperBond { get; } public bool IsInteger { get; } public string NickName { get; } + public double Epsilon { get; } - public Variable(double lowerBond, double upperBond, bool isInteger, string nickName) + public Variable(double lowerBond, double upperBond, bool isInteger, string nickName, double epsilon) { LowerBond = lowerBond; UpperBond = upperBond; IsInteger = isInteger; NickName = nickName; + Epsilon = epsilon; } } }