Skip to content

sasoptpy v0.1.2

Compare
Choose a tag to compare
@sertalpbilal sertalpbilal released this 24 Apr 20:48
· 550 commits to master since this release

New Features
++++++++++++

  • As an experimental feature, sasoptpy supports saspy connections now
  • Model.solve_local method is added for solving optimization
    problems using SAS 9.4 installations
  • Model.drop_variable, Model.drop_variables,
    Model.drop_constraint, Model.drop_constraints methods are
    added
  • Model.get_constraint and Model.get_constraints methods are
    added to grab Constraint objects in a model
  • Model.get_variables method is added
  • _dual attribute is added to the Expression objects
  • Variable.get_dual and Constraint.get_dual methods are added
  • Expression.set_name method is added

Changes
+++++++

  • Session argument accepts saspy.SASsession objects
  • VariableGroup.mult method now supports pandas.DataFrame
  • Type check for the Model.set_session is removed to support new session
    types
  • Problem and solution summaries are not being printed by default anymore,
    see Model.get_problem_summary and Model.get_solution_summary
  • The default behavior of dropping the table after each solve is changed, but
    can be controlled with the drop argument of the Model.solve method

Bug Fixes
+++++++++

  • Fixed: Variables do not appear in MPS files if they are not used in the model
  • Fixed: Model.solve primalin argument does not pass into options

Notes
+++++

  • A .gitignore file is added to the repository.
  • A new example is added: Decentralization.
  • Both CAS/Viya and SAS versions of the new example are available.
  • There is a known issue with the nondeterministic behavior when creating MPS
    tables. This will be fixed with a hotfix after the release.
  • A new option (no-ex) is added to makedocs script for skipping examples when
    building docs.