math/cimod 1.7.5 FreeBSD
C++ header-only library for a binary quadratic models
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
731961a312- License
- MIT
- Categories
- math
- Package size
- 24.2 KiB, 170.4 KiB installed
Description
Cimod is a C++ header-only library for a binary quadratic model (BQM), which is a model of variables that can be in one of two states (0 or 1, or -1 or 1). BQMs are used to represent a wide range of optimization problems, and are particularly important in the context of quantum annealing and other heuristic optimization algorithms.
This library provides tools to create and manipulate BQM instances, making it easier to work with these models in C++ applications.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/cimod | 1.7.5 |
| DragonFly | math/cimod | 1.6.2 |
Install
Binary package:
pkg install cimod
From the ports tree:
cd /usr/ports/math/cimod/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= cimod>0:math/cimod
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.7.5 | 1.7.5 | - | 1.6.2 | 1.7.5 |
| FreeBSD:14:quarterly | 1.7.5 | 1.7.5 | n/a | 1.6.2 | 1.7.5 |
| FreeBSD:15:latest | 1.7.5 | 1.7.5 | n/a | 1.6.2 | 1.6.2 |
| FreeBSD:15:quarterly | 1.7.5 | 1.7.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.7.5 | 1.7.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
nlohmann-json>0: devel/nlohmann-json
Runtime 1
nlohmann-json>0: devel/nlohmann-json
Test 1
googletest>0: devel/googletest
The full lists below include those, and their dependencies in turn.
Build dependencies 26
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/ninja
- devel/nlohmann-json
- devel/readline
- dns/libidn2
- lang/gcc14
- lang/python312
- math/blas
- math/eigen3
- math/gmp
- math/lapack
- math/mpc
- math/mpdecimal
- math/mpfr
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- textproc/expat2
Run dependencies 12
Required by 1
Configuration
No options to configure.
- USES
- cmake:testing compiler:c++17-lang eigen:3,build,run
- Service scripts
- none
Files
pkg-plist 8
- include/cimod/binary_polynomial_model.hpp
- include/cimod/binary_quadratic_model.hpp
- include/cimod/binary_quadratic_model_dict.hpp
- include/cimod/disable_eigen_warning.hpp
- include/cimod/hash.hpp
- include/cimod/json.hpp
- include/cimod/utilities.hpp
- include/cimod/vartypes.hpp
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Jij-Inc-cimod-v1.7.5_GH0.tar.gz | 322607 | 1db51205e2614aa7ce1ffa6716a1f2b3b4fda11abd0b92a5c6c22b0ca780b5d3 |