Docplex

Latest version: v2.27.239

Safety actively analyzes 621409 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

2022.11

* Support for CPLEX Optimization Studio 22.1.1 runtimes.
* Cleanup of the code related to Watson Machine Learning.
* In ``docplex.mp``:
* Support for sensitivity analysis in Solution.
* Fixes in Solution handling.
* In ``docplex.cp``:
* Support for 'inferred' statement.
* Support for 'sub_circuit' constraint.
* Fixed conditional module importation in sched_jobshop_blackbox.py

2022.03

* Support for CPLEX Optimization Studio 22.1 runtimes.
* In ``docplex.mp``:
* Support of parameter sets for multi objective optimization.
* Bug fix for multi objective optimization.
* Correct documentation urls to current CPLEX offering.
* Removal of the deprecated ``docloud_context``.
* Performance improvements for model building with 22.1
* In ``docplex.cp``:
* Added a new module blackbox to allow the new blackbox function feature
* Wrote full documentation on blackbox functions
* Added a new SearchType 'Neighborhood'
* Fixed a bug in modeler.same_common_subsequence
* Fixed problem of order of computation of actual solving parameters.

2021.09

* Removed zeppelin examples
* In ``docplex.mp``:
* Added a variant of Model.sum() with variable number of arguments: Model.sums()
* Removed all Python2 compatibility code
* Added deterministic time in solve details.
* Linear relaxer now relaxes SOS variable sets (linear sum relaxation)
* Fixed a bug on Model.solve_with_goals() with quadratic sub-objectives
* Fixed a bug in SolveSolution.kpi_value_by_name
* Fixed a bug in SolveSolution.get_value_dict() about precision filtering
* Fixed a bug when updating a constraint rhs with a NaN value now raises exception.

* In ``docplex.cp``:
* Add new methods get_objective_value(), get_objective_bound() and get_objective_gap() on CpoModelSolution
and CpoSolveResult to access directly the first objective, bound or gap.
* Support real call to abort_search() instead of killing the solver.
* Add a method get_parameters() to CpoSolver to retrieve actual solving parameters.
* Fix problem of order of computation of actual solving parameters.

2021.06

* In ``docplex.mp``:
* Add support for importing solution from a different model, provided variables
can be matched between both models (Model.import_solution)
* Added contextual function to temporarily modify aspects of the model:
`model_parameters` to change parameters in a block, `model_objective` to set a temporary objective in a block.
* Naming expressions is now deprecated, use a temporary variable if needed.
* Display of expressions in constraints is customizable: use a space separator (or not),
set a maximum length for very long expression.
* Fixed documentation references to class Var, moved from linear to dvar
* Fixed a bug in LP export for multi-objective models with no priorities passed

* In ``docplex.cp``:
* Replace context attribute solve_with_start_next by solve_with_search_next, keeping ascending compatibility.
* Support solver parameter ModelAnonymizer to generate random names for all model elements (except KPIs) in the CPO file format.
* Optimize generation of CPO expressions from Python expressions
* Interval variable solutions tuples are now named tuples.
* Method CpoModel.add() now accepts multiple expressions (or lists of expressions) to add to the model.

2021.02

* In ``docplex.mp``:
* Add support for exporting solutions and solution pools to SOL format.
* Add fast methods for changing batches of variable bounds:
Model.change_var_lower_bounds, Model.change_var_upper_bounds
* Reset random seed value for cplex 12.10 , was different from COS release value.
* Improved performance of variable creation
* Removed a warning about accessing a deprecated "solve_status" in solve.
* docplex.mp.AdvModel now has checker enabled by default to avoid Python errors.
Is is up to the user to disable type-checking to get maximum performance.
* Fixed a bug about not printing updated variable bounds in MPS and SAV
* Changed the default rounding behavior: solution values are not rounded by default.

* In ``docplex.cp``:
* Fix problems on step function operations.
* Add status in conflict refiner solution object.
* Fix a bug to not send and receive conflict in CPO format if no conflict.
* Enhance printing of model solution.

* The method search_next(), returns only new solutions of the model.
In particular, no new solution is returned if solve status just change from Feasible to Optimal.
* Rework completely model statistics (CpoModelStatistics)
* Add a parameter add_cpo to the write method of CpoRefineConflictResult

2020.12

* In ``docplex.mp``:
* Exporting models to SAV.gz format is now supported.

* In ``docplex.cp``:
* Add a new method remove_expressions() to CpoModel that removes a list of expressions in one shot.
* Update documentation to describe how to set private solver parameters.
* Add functions to export and import context as flat file.
* Fix a bug on the string representation of calls to constant() modeling function.
* Add JSON filter in case of double identical value for objective.
* Add functions to export and import context as flat file.
* Fix a bug on the string representation of calls to constant() modeling function.
* Add JSON filter in case of double value for objective.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.