Search found 2 matches

by james82
4 months ago
Forum: Syntax
Topic: Speeding up constraint creation during compilation
Replies: 2
Views: 248

Re: Speeding up constraint creation during compilation

Hi Fred

Thank you very much for your response - this certainly solves the issue I was having with slow model generation. That is a nice trick for the map set creation, really good to know.

Thanks again.

James
by james82
4 months ago
Forum: Syntax
Topic: Speeding up constraint creation during compilation
Replies: 2
Views: 248

Speeding up constraint creation during compilation

Hi everyone So I have a constraint like eq_uc_gen_minup(h,z,non_vre) .. sum(h_alias$(ord(h_alias) ge (ord(h) - gen_minup(non_vre)+1) and ord(h_alias) lt ord(h)),var_up_units(h_alias,z,non_vre)) =L= var_com_units(h,z,non_vre) with alias(h,h_alias) The parameter gen_minup(non_vre) is in the range of 2...