 My Math Forum Integer linear programming - auxillary binary range constraint variable

 Applied Math Applied Math Forum

 March 19th, 2016, 10:58 AM #1 Newbie   Joined: Oct 2013 Posts: 29 Thanks: 1 Integer linear programming - auxillary binary range constraint variable Hello, I'm currently facing this problem in ILP: I have two matrices of dimension 1*n of variables : $$s_i,x_i$$ I would like to create a matrix of new variables (dimension n*k, where k is an arbitrary natural number). Using constraints, I would like the variables to have the following function: $$z_{ij} = \begin{cases} 1 & \text{if } j \geq s_i \text{ and } j \leq x_i\\ 0 & \text{otherwise} \\ \end{cases}$$ For example: $$s_i = 4 \\ x_i = 8 \\ z_{i5} = 1$$ My question is, how would I formulate the constraints of $$z_{ij}$$? Tags auxillary, binary, constraint, integer, linear, programming, range, variable Thread Tools Show Printable Version Email this Page Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Similar Threads Thread Thread Starter Forum Replies Last Post cirisiamo New Users 0 May 15th, 2015 05:25 AM Cadbury Applied Math 1 January 27th, 2015 01:22 AM kariz Economics 1 March 25th, 2012 08:33 PM azaz104 Applied Math 0 June 11th, 2011 06:05 PM Gekko Calculus 3 June 12th, 2010 10:16 AM

 Contact - Home - Forums - Cryptocurrency Forum - Top      