Skip to content

Commit

Permalink
More info for NL
Browse files Browse the repository at this point in the history
improve text and remove files
  • Loading branch information
Joaquim Garcia committed Jun 25, 2023
1 parent 146a6a9 commit 49e8979
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 249 deletions.
110 changes: 0 additions & 110 deletions docs/src/tutorials/conic_lower.md

This file was deleted.

138 changes: 0 additions & 138 deletions docs/src/tutorials/lower_duals.md

This file was deleted.

5 changes: 4 additions & 1 deletion src/jump_nlp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ end
no_nlp() = error("Nonlinear data must be passed to the Upper(.) model")
function no_nlp_lower()
return error(
"Nonlinear data (objective, constraints, parameters) is not allowed in the lower level",
"Nonlinear data (objective, constraints, parameters) is not allowed in the lower level. " *
"If you are trying to use the @NLconstraint or @NLobjective macros for quadratic expressions, " *
"please use the @constraint or @objective macros instead. " *
"Expressions that are not quadratic nor linear are not supported in the lower level."
)
end

Expand Down

0 comments on commit 49e8979

Please sign in to comment.