Skip to content

Instantly share code, notes, and snippets.

@huckl3b3rry87
Created February 17, 2017 22:17
Show Gist options
  • Save huckl3b3rry87/ecb1a3117fb0e7b6b64e0c70aa62308e to your computer and use it in GitHub Desktop.
Save huckl3b3rry87/ecb1a3117fb0e7b6b64e0c70aa62308e to your computer and use it in GitHub Desktop.
pa = Vpara(x_min=x_min,x_max=x_max,y_min=y_min,y_max=y_max,sm=0.01);
@NLconstraint(mdl, obs_con[j=1:Q,i=2:N+1], 1 <= ((x[i]-X_obs[j,i])^2)/((a[j]+sm)^2) + ((y[i]-Y_obs[j,i])^2)/((b[j]+sm)^2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment