• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 195

Backtrace:

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/views/question.php
Line: 195
Function: _error_handler

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/controllers/Questions.php
Line: 416
Function: view

File: /home/u125378470/domains/lawhelpguru.org/public_html/index.php
Line: 315
Function: require_once

<button aria-describedby="--stacks-s-tooltip-o1ql3lmo" aria-label="Bookmark" aria-pressed="false" class="js-bookmark-btn s-btn s-btn__unset c-pointer py4 js-gps-track" data-controller="s-tooltip" data-gps-track="post.click({ item: 1, priv: 0, post_type: 1 })" data-s-tooltip-placement="right" data-selected-classes="fc-yellow-600"></button><svg aria-hidden="true" class="mln2 mr0 svg-icon iconHistory" height="18" viewbox="0 0 19 18" width="19"></svg>

 

I have a constraint in CPLEX enter image description here

and i tried to convert this constraint into GOOGLE OR TOOLS in python.

constraint10=[zs[(0,j)] for j in range(17,22)]
constraint11=[zs[(1,j)] for j in range(21,26)]
constraint12=[zs[(2,j)] for j in range(15,20)]
constraint13=[zs[(3,j)] for j in range(18,23)]
constraint14=[zs[(4,j)] for j in range(9,14)]
constraint15=[zs[(5,j)] for j in range(12,17)]
solver.Add(sum(constraint10)==5)
solver.Add(sum(constraint11)==5)
solver.Add(sum(constraint12)==5)
solver.Add(sum(constraint13)==5)
solver.Add(sum(constraint14)==5)
solver.Add(sum(constraint15)==5)

In CPLEX, this constraint's Objective value is none. But GOOGLE OR TOOLS finds certain objective value. these two program's result should be same. Why this happen? Am i wrong?