Swapnil Brahmankar
- Total activity 12
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 3
Activity overview
Latest activity by Swapnil Brahmankar-
Swapnil Brahmankar commented,
Thank you Matthias! let me try that, if you don't mind can you please point me to an example that has that construct? Thanks
-
Swapnil Brahmankar created a post,
Adding Constraints
AnsweredTrying to add the following constraint, but keep getting TypeError: addConstrs() takes at least 2 positional arguments (1 given) error. x = Decision variable, Binary variable, tupledict(loan, spe...
-
Swapnil Brahmankar commented,
I was able to add the constraint as following: hcfn = m.addConstrs((x.prod(highballoanamt,'*', s) <= 0.10 * x.prod(loanamt,'*', s) for s in spechbname if (str.isnumeric(s) == False and s.find('FN')...
-
Swapnil Brahmankar commented,
Thank you Gwyneth! I am new to Gurobi and based on all the examples I have gone through so far, my main struggle on the issue here is my ability to formulate that constraint. I have tried somethi...
-
Swapnil Brahmankar created a post,
Adding Constraints
AnsweredHi, Please see the code below, I am trying to add additional constraint where I do not want the amount allocated by constraint 'h' to be > 10% of the amount allocated by constraint "r". I have trie...
-
Swapnil Brahmankar commented,
please ignore I was able to figure this out, thanks
-
Swapnil Brahmankar commented,
Are there any examples of constructing the model using the pandas dataframe? I am new to Gurobi and looking for something to shorten my learning curve, thanks
-
Swapnil Brahmankar created a post,
Multidict
Is there an example to create Multidict using python dataframe? Thanks I am looking for something like Key: tuple (dataframe columns LoanId, SpecName) and Value: Proceeds any help is appreciated!