19 Interface changes

The section show interface-specific changes to the MOSEK Optimizer API for Python in version 8. See the release notes for general changes and new features of the MOSEK Optimization Suite.

19.1 Compatibility

  • All input functions of the form putXXXlist now perform strict dimensional checking. That means all input arrays must have the same size. In previous release they were allowed to differs and MOSEK would have used the shortest dimension.

19.2 Functions

Added

Changed

Removed

  • Env.putdllpath
  • Env.putkeepdlls
  • Env.set_stream
  • Task.getdbi
  • Task.getdcni
  • Task.getdeqi
  • Task.getinti
  • Task.getnumqconknz64
  • Task.getpbi
  • Task.getpcni
  • Task.getpeqi
  • Task.getqobj64
  • Task.getsolutioninf
  • Task.getvarbranchdir
  • Task.getvarbranchpri
  • Task.optimizeconcurrent
  • Task.progress
  • Task.putvarbranchorder
  • Task.readbranchpriorities
  • Task.relaxprimal
  • Task.set_stream
  • Task.writebranchpriorities

19.3 Parameters

Added

Removed

  • dparam.feasrepair_tol
  • dparam.mio_heuristic_time
  • dparam.mio_max_time_aprx_opt
  • dparam.mio_rel_add_cut_limited
  • dparam.mio_tol_max_cut_frac_rhs
  • dparam.mio_tol_min_cut_frac_rhs
  • dparam.mio_tol_rel_relax_int
  • dparam.mio_tol_x
  • dparam.nonconvex_tol_feas
  • dparam.nonconvex_tol_opt
  • iparam.alloc_add_qnz
  • iparam.concurrent_num_optimizers
  • iparam.concurrent_priority_dual_simplex
  • iparam.concurrent_priority_free_simplex
  • iparam.concurrent_priority_intpnt
  • iparam.concurrent_priority_primal_simplex
  • iparam.feasrepair_optimize
  • iparam.intpnt_factor_debug_lvl
  • iparam.intpnt_factor_method
  • iparam.lic_trh_expiry_wrn
  • iparam.log_concurrent
  • iparam.log_factor
  • iparam.log_head
  • iparam.log_nonconvex
  • iparam.log_optimizer
  • iparam.log_param
  • iparam.log_sim_network_freq
  • iparam.mio_branch_priorities_use
  • iparam.mio_cont_sol
  • iparam.mio_cut_cg
  • iparam.mio_cut_level_root
  • iparam.mio_cut_level_tree
  • iparam.mio_feaspump_level
  • iparam.mio_hotstart
  • iparam.mio_keep_basis
  • iparam.mio_local_branch_number
  • iparam.mio_optimizer_mode
  • iparam.mio_presolve_aggregate
  • iparam.mio_presolve_probing
  • iparam.mio_presolve_use
  • iparam.mio_strong_branch
  • iparam.mio_use_multithreaded_optimizer
  • iparam.nonconvex_max_iterations
  • iparam.presolve_elim_fill
  • iparam.presolve_eliminator_use
  • iparam.qo_separable_reformulation
  • iparam.read_anz
  • iparam.read_con
  • iparam.read_cone
  • iparam.read_mps_keep_int
  • iparam.read_mps_obj_sense
  • iparam.read_mps_relax
  • iparam.read_qnz
  • iparam.read_var
  • iparam.sim_integer
  • iparam.warning_level
  • iparam.write_ignore_incompatible_conic_items
  • iparam.write_ignore_incompatible_nl_items
  • iparam.write_ignore_incompatible_psd_items
  • sparam.feasrepair_name_prefix
  • sparam.feasrepair_name_separator
  • sparam.feasrepair_name_wsumviol

19.4 Constants

Added

Changed

Removed

  • constant.callbackcode.begin_concurrent
  • constant.callbackcode.begin_network_dual_simplex
  • constant.callbackcode.begin_network_primal_simplex
  • constant.callbackcode.begin_network_simplex
  • constant.callbackcode.begin_nonconvex
  • constant.callbackcode.begin_primal_dual_simplex
  • constant.callbackcode.begin_primal_dual_simplex_bi
  • constant.callbackcode.begin_simplex_network_detect
  • constant.callbackcode.end_concurrent
  • constant.callbackcode.end_network_dual_simplex
  • constant.callbackcode.end_network_primal_simplex
  • constant.callbackcode.end_network_simplex
  • constant.callbackcode.end_nonconvex
  • constant.callbackcode.end_primal_dual_simplex
  • constant.callbackcode.end_primal_dual_simplex_bi
  • constant.callbackcode.end_simplex_network_detect
  • constant.callbackcode.im_mio_presolve
  • constant.callbackcode.im_network_dual_simplex
  • constant.callbackcode.im_network_primal_simplex
  • constant.callbackcode.im_nonconvex
  • constant.callbackcode.im_primal_dual_simplex
  • constant.callbackcode.noncovex
  • constant.callbackcode.update_network_dual_simplex
  • constant.callbackcode.update_network_primal_simplex
  • constant.callbackcode.update_nonconvex
  • constant.callbackcode.update_primal_dual_simplex
  • constant.callbackcode.update_primal_dual_simplex_bi
  • constant.dinfitem.bi_clean_primal_dual_time
  • constant.dinfitem.concurrent_time
  • constant.dinfitem.mio_cg_seperation_time
  • constant.dinfitem.mio_cmir_seperation_time
  • constant.dinfitem.sim_network_dual_time
  • constant.dinfitem.sim_network_primal_time
  • constant.dinfitem.sim_network_time
  • constant.dinfitem.sim_primal_dual_time
  • constant.feature.ptom
  • constant.feature.ptox
  • constant.iinfitem.concurrent_fastest_optimizer
  • constant.iinfitem.mio_num_basis_cuts
  • constant.iinfitem.mio_num_cardgub_cuts
  • constant.iinfitem.mio_num_coef_redc_cuts
  • constant.iinfitem.mio_num_contra_cuts
  • constant.iinfitem.mio_num_disagg_cuts
  • constant.iinfitem.mio_num_flow_cover_cuts
  • constant.iinfitem.mio_num_gcd_cuts
  • constant.iinfitem.mio_num_gub_cover_cuts
  • constant.iinfitem.mio_num_knapsur_cover_cuts
  • constant.iinfitem.mio_num_lattice_cuts
  • constant.iinfitem.mio_num_lift_cuts
  • constant.iinfitem.mio_num_obj_cuts
  • constant.iinfitem.mio_num_plan_loc_cuts
  • constant.iinfitem.sim_network_dual_deg_iter
  • constant.iinfitem.sim_network_dual_hotstart
  • constant.iinfitem.sim_network_dual_hotstart_lu
  • constant.iinfitem.sim_network_dual_inf_iter
  • constant.iinfitem.sim_network_dual_iter
  • constant.iinfitem.sim_network_primal_deg_iter
  • constant.iinfitem.sim_network_primal_hotstart
  • constant.iinfitem.sim_network_primal_hotstart_lu
  • constant.iinfitem.sim_network_primal_inf_iter
  • constant.iinfitem.sim_network_primal_iter
  • constant.iinfitem.sim_primal_dual_deg_iter
  • constant.iinfitem.sim_primal_dual_hotstart
  • constant.iinfitem.sim_primal_dual_hotstart_lu
  • constant.iinfitem.sim_primal_dual_inf_iter
  • constant.iinfitem.sim_primal_dual_iter
  • constant.iinfitem.sol_int_prosta
  • constant.iinfitem.sol_int_solsta
  • constant.iinfitem.sto_num_a_cache_flushes
  • constant.iinfitem.sto_num_a_transposes
  • constant.liinfitem.bi_clean_primal_dual_deg_iter
  • constant.liinfitem.bi_clean_primal_dual_iter
  • constant.liinfitem.bi_clean_primal_dual_sub_iter
  • constant.miomode.lazy
  • constant.optimizertype.concurrent
  • constant.optimizertype.mixed_int_conic
  • constant.optimizertype.network_primal_simplex
  • constant.optimizertype.nonconvex
  • constant.optimizertype.primal_dual_simplex

19.5 Response Codes

Added

Removed

  • rescode.err_ad_invalid_operand
  • rescode.err_ad_invalid_operator
  • rescode.err_ad_missing_operand
  • rescode.err_ad_missing_return
  • rescode.err_concurrent_optimizer
  • rescode.err_inv_conic_problem
  • rescode.err_invalid_branch_direction
  • rescode.err_invalid_branch_priority
  • rescode.err_invalid_network_problem
  • rescode.err_mbt_incompatible
  • rescode.err_mbt_invalid
  • rescode.err_mio_not_loaded
  • rescode.err_mixed_problem
  • rescode.err_no_dual_info_for_itg_sol
  • rescode.err_ord_invalid
  • rescode.err_ord_invalid_branch_dir
  • rescode.err_toconic_conversion_fail
  • rescode.err_too_many_concurrent_tasks
  • rescode.wrn_too_many_threads_concurrent