We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d97c69 commit 72b50c5Copy full SHA for 72b50c5
src/ConicProgram/ConicProgram.jl
@@ -184,11 +184,15 @@ function _gradient_cache(model::Model)
184
b = model.model.constraints.constants
185
186
if any(isnan, model.y) || length(model.y) < length(b)
187
- error("Some constraints are missing a value for the `ConstraintDualStart` attribute.")
+ error(
188
+ "Some constraints are missing a value for the `ConstraintDualStart` attribute.",
189
+ )
190
end
191
192
if any(isnan, model.s) || length(model.s) < length(b)
- error("Some constraints are missing a value for the `ConstraintPrimalStart` attribute.")
193
194
+ "Some constraints are missing a value for the `ConstraintPrimalStart` attribute.",
195
196
197
198
if MOI.get(model, MOI.ObjectiveSense()) == MOI.FEASIBILITY_SENSE
0 commit comments