Does anyone know of a way that mathematica can solve the summation below. I understand you cannot use capital letter when defining variable, but this is just to demonstrate the basic idea I am getting at. I am trying to see what I can do and get away with in mathematica, so the variables may seem trivial.
Subscripts are vauge and have many different meanings and uses. Please trust me and do not use them in Mathematica code until you know more about how Mathematica works and so you can understand how they work. Many newer Mathematica programmers want to use them and it doesn’t go well.
Math notation is very often not a good way to think about programming.
Are you looking to use tensor notation? There are packages for that you can find online, but they aren’t exactly simple. You might be able to write code that looks like this with them, but I wouldn’t suggest it unless you were a seasoned Mathematica programmer.
Tensor notation, I believe, is unnecessary. What I am trying to do is create an integer program which creates a schedule based on our objective function and constraints. Many of the constraints we have look at the elements of sets and the summation cycles through all the possible index sets. The variable X would be a binary variable which would be part of our objective equation.