Follow us on Twitter and LinkedIn to get the latest updates from the dev team!
Here [Breaking] means the change that may break valid user code, [Fix] - a bug fix.
[New] CPLEXCallback: addLazy and addCut now support an optional parameter local, specifying if the added constraint is locally valid (value = 1) or globally valid (value = 0 - default)
[Fix] Python: fixed an issue arising when inheriting from solver-specific callback classes
[New] Python: Added Constraint.to_string and AMPLModel.add_constraint
Constraint.to_string
AMPLModel.add_constraint
[New] Python: added parameter import_entities to the method amplpy.AMPL.import_solution to import entities added via AMPLS back to the amplpy model
import_entities
amplpy.AMPL.import_solution
[New] Python: added parameter keep_files to the method amplpy.AMPL.import_solution that if set to true, keeps the exported row, col and NL files
keep_files
[[Fix]] Row and column files written to the temporary directory when exporting from AMPLAPI or amplpy are now removed
[New] Added Python examples in python/examples
[Fix] Python: get_solution_dict and getSolutionDict
get_solution_dict
getSolutionDict
[Fix] Gurobi: getting solution vector and objective bounds in callbacks at MIPSOL and MIPNODE
[New] Added SolverAttributes::INT_NumIntegerVars
[Fix] Various bug fixes
[Breaking] ampls::CPLEXCallback is now using the generic callbacks. Note that multithreading is not disabled by default but implementation needs extra care.
[Breaking] Solver and solver driver related errors in Python are now thrown as ampls.AMPLSolverException
[Fix] Fixed python wrappers for AMPLModel.*etAMPLParameter and AMPLModel.getStatus
[New] Added AMPLModel::infinity() and AMPLModel::negInfinity() to use when creating new entities with no bounds
[Fix] A problem arising when replaying in AMPL new entities recorded with AMPLModel::record()
[Fix] Mapping of callback information in BaseCallback::getValue()
[New] Added parameter to AMPLModel::load() and AMPLAPIInterface::exportModel<T>() to specify options when loading the model. Necessary for options that involve the solver driver
AMPLModel::load()
AMPLAPIInterface::exportModel<T>()
[Breaking] Renamed BaseCallback::checkCanDo to canDo
BaseCallback::checkCanDo
canDo
Options handling:
[Breaking] Renamed the function AMPLModel::getIntOptionValue to AMPLModel::getIntOption
AMPLModel::getIntOptionValue
AMPLModel::getIntOption
[New] Implemented AMPLModel::getDoubleOption and AMPLModel::getStringOption
AMPLModel::getDoubleOption
AMPLModel::getStringOption
previous
Reference
next
ampls:: Python solver libraries