Additional solutions for substitution

38 views
Skip to first unread message

Stan Pickens

unread,
Apr 4, 2024, 2:26:54 PMApr 4
to lp_solve
My lpsolve application selects questions to go into a test.  Each selected question contributes its statistical and content parameters. There is a decision variable for each possible test question.  The solver sets a decision variable to 1 if the question is selected.

However, when the selected questions get to production, they need/want to replace some for a variety of reasons.  But, they want only to replace a question or two while still meeting the test's statistical and content criteria.  They don't want to rebuild the test from scratch.

I thought that all I had to do was add Qn = 1; to the .LP file for any question that was previously selected where Qn is the decision variable for Question 1..n. But I'm not sure if this is the correct approach.

Is that all I have to do or is there some other technique.

Peter Notebaert

unread,
Apr 4, 2024, 6:15:17 PMApr 4
to Stan Pickens, lp_solve
Sound right to me.

P



From: lp_s...@googlegroups.com <lp_s...@googlegroups.com> on behalf of Stan Pickens <spic...@strasz.com>
Sent: Thursday, April 4, 2024 8:26:54 PM
To: lp_solve <lp_s...@googlegroups.com>
Subject: Additional solutions for substitution
 
NOTICE: This email (including attachments) is covered by the Electronic Communications Privacy Act, 18 USC Sections 2510-2521 and is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please reply to sender and then delete it.

--
You received this message because you are subscribed to the Google Groups "lp_solve" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lp_solve+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lp_solve/335d0f62-88ac-4b36-95fe-eb94b5c5dea2n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages