Skip to main content
https://travis-ci.org/openopt/copt.svg?branch=master https://coveralls.io/repos/github/openopt/copt/badge.svg?branch=master https://zenodo.org/badge/46262908.svg https://storage.googleapis.com/copt-doc/doc_status.svg https://storage.googleapis.com/copt-doc/pylint.svg

Note: This package is no longer actively maintained. I won’t be actively responding to issues. If you’d like to volunteer to maintain it, please drop me a line at f@bianp.net

copt: composite optimization in Python

copt is an optimization library for Python. Its goal is to provide a high quality implementation of classical optimization algorithms under a consistent API.

Docs | Examples

Installation

If you already have a working installation of numpy and scipy, the easiest way to install copt is using pip

pip install -U copt

Alternatively, you can install the latest development from github with the command:

pip install git+https://github.com/openopt/copt.git

Citing

If this software is useful for your research, please consider citing it as

@article{copt,
  author       = {Fabian Pedregosa, Geoffrey Negiar, Gideon Dresdner},
  title        = {copt: composite optimization in Python},
  year         = 2020,
  DOI          = {10.5281/zenodo.1283339},
  url={http://openopt.github.io/copt/}
}

Development

The recommended way to work on the development versionis the following:

  1. Clone locally the github repo. This can be done with the command:

    git clone https://github.com/openopt/copt.git

This will create a copt directory.

2. Link this directory to your Python interpreter. This can be done by running the following command from the copt directory created with the previous step:

python setup.py develop

Now you can run the tests with py.test tests/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

copt-0.9.2.tar.gz (879.8 kB view details)

Uploaded Source

File details

Details for the file copt-0.9.2.tar.gz.

File metadata

  • Download URL: copt-0.9.2.tar.gz
  • Upload date:
  • Size: 879.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for copt-0.9.2.tar.gz
Algorithm Hash digest
SHA256 349815ff69e69da221febeb02341f362b200944d728453079269840d77b057b5
MD5 ed75224d5e542330dc5abe874a40ffca
BLAKE2b-256 c5f534244a9d6d6bc02989955cdd4abb9d1b23c798be1ed6036638ca95189ebb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.9.2 This release

1 file

0.9.1

1 file

0.8.4

1 file

0.8.3

1 file

0.8.2

1 file

0.7.3

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page