• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

solver constraint looping getting values for constraints @ run time

Arun

New Member
Hi,

I want to loop a solver constraint which goes something like below

( solverAdd cellref:="$k$29", Relation:=2, formulatext:="$I$23*$K$28")

I need to loop this nearly to 100 cells.

Now im copying and changing it manually.Tried wih for loop but the constraints are not added.


Question 2:

I want a code to accept solver constraints @ run time

like set a value of cell to zero during run time.


Please help me with these two questions.


Thanks
 
Hi, Arun!


First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.


As a starting point I'd recommend you to read the three first green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).


Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.


Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.


And about your question... consider uploading a sample file which includes detailed explanation of requirements and a couple of examples of desired output.


Regards!
 
Back
Top