Commits on Sep 7, 2019
Commits on Jul 29, 2019
* Constraints: use `cref` for constraint references. Used to be a mix of cr, ref, cref, constraint_ref, and v. This looked especially strange in the documentation. `cref` seems to be the most commonly used name in the code. * Add abbreviation for constraint in doc. * Update cref to con_ref. * Typo. * Test failure.
Commits on Jul 18, 2019
* Implement set_objective_coefficient for affine objectives. * If there is a nonlinear objective, throw an error. * Promote single-variable objectives to affine when updating a coefficient. Also test the quadratic objective case. * Documentation as asked by @odow. * Case when the objective is a SingleVariable, but setting the coefficient for another variable. * Cleaner way of accessing the NLP objective. * Move objective coefficient update tests to a new function, so that they are run only for the base JuMP model. * @blegat comments. * @odow's comments. * Add to documentation. * Restore a3694f9 * Avoid using MOI when JuMP is enough. * Re-use obj_fct_type
Commits on Mar 27, 2019